# SliTaz package receipt. PACKAGE="scribus" VERSION="1.4.0" CATEGORY="office" SHORT_DESC="professional publishing software." MAINTAINER="pascal.bellard@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.scribus.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" DEPENDS="ghostscript libQtGui libQtXml libQtNetwork cups lcms libxml2 \ gcc-lib-base aspell python krb5 podofo" BUILD_DEPENDS="cmake qmake Qt4-dev freetype freetype-dev \ cairo cairo-dev tiff tiff-dev lcms lcms-dev jpeg jpeg-dev libpng libpng-dev \ cups cups-dev fontconfig fontconfig-dev libxml2 libxml2-dev podofo-dev \ ghostscript python python-dev python-pil pkg-config aspell aspell-dev \ libboost-dev openssl openssl-dev zlib tk" # Rules to configure and make the package. compile_rules() { cd $src cmake -DCMAKE_INSTALL_PREFIX=/usr . && make $MAKEFLAGS && make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share $fs/usr/lib cp -a $_pkg/usr/share/scribus $fs/usr/share cp -a $_pkg/usr/lib/scribus $fs/usr/lib cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/share/mimelnk $fs/usr/share cp -a stuff/* $fs }