wok-current annotate scribus/receipt @ rev 9619
Up: py3k to 3.2. Added CVE-2011-1521 security fix. Also added pyconfig.h to py3k so python3 works. Nothing depends on this package yet so updating it will not cause any problems.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Apr 18 15:39:33 2011 +0000 (2011-04-18) |
parents | 450b08f0f623 |
children | 8e4c74abdf74 |
rev | line source |
---|---|
pascal@3899 | 1 # SliTaz package receipt. |
pascal@3899 | 2 |
pascal@3899 | 3 PACKAGE="scribus" |
slaxemulator@7523 | 4 VERSION="1.3.9" |
pascal@3899 | 5 CATEGORY="office" |
pascal@3899 | 6 SHORT_DESC="professional publishing software." |
pascal@3899 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@3899 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@3899 | 9 WEB_SITE="http://www.scribus.net/" |
pascal@3899 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@3903 | 11 DEPENDS="ghostscript libQtGui libQtXml libQtNetwork cups lcms libxml2 \ |
pascal@3903 | 12 gcc-lib-base aspell python krb5 podofo" |
pascal@8937 | 13 BUILD_DEPENDS="cmake qmake Qt4-dev freetype freetype-dev \ |
pascal@3899 | 14 cairo cairo-dev tiff tiff-dev lcms lcms-dev jpeg jpeg-dev libpng libpng-dev \ |
pascal@6109 | 15 cups cups-dev fontconfig fontconfig-dev libxml2 libxml2-dev podofo-dev \ |
pascal@3899 | 16 ghostscript python python-dev python-pil pkg-config aspell aspell-dev \ |
pascal@3899 | 17 libboost-dev openssl openssl-dev zlib tk" |
pascal@3899 | 18 |
pascal@3899 | 19 # Rules to configure and make the package. |
pascal@3899 | 20 compile_rules() |
pascal@3899 | 21 { |
pascal@3899 | 22 cd $src |
pascal@3899 | 23 cmake -DCMAKE_INSTALL_PREFIX=/usr . && |
pascal@5777 | 24 make -j 4 && |
pascal@3899 | 25 make DESTDIR=$PWD/_pkg install |
pascal@3899 | 26 } |
pascal@3899 | 27 |
pascal@3899 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3899 | 29 genpkg_rules() |
pascal@3899 | 30 { |
pascal@3899 | 31 mkdir -p $fs/usr/share $fs/usr/lib |
pascal@3899 | 32 cp -a $_pkg/usr/share/scribus $fs/usr/share |
pascal@3899 | 33 cp -a $_pkg/usr/lib/scribus $fs/usr/lib |
pascal@3899 | 34 cp -a $_pkg/usr/bin $fs/usr |
pascal@3899 | 35 cp -a $_pkg/usr/share/mimelnk $fs/usr/share |
pascal@3899 | 36 cp -a stuff/* $fs |
pascal@3899 | 37 } |
pascal@3899 | 38 |