wok-6.x view scribus/receipt @ rev 7938
slitaz-mercurial-style: Migration continue (one can follow in live on hg.slitaz.org)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Jan 11 22:37:12 2011 +0100 (2011-01-11) |
parents | 11be9113b6c8 |
children | a3ce54180620 |
line source
1 # SliTaz package receipt.
3 PACKAGE="scribus"
4 VERSION="1.3.9"
5 CATEGORY="office"
6 SHORT_DESC="professional publishing software."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.scribus.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 DEPENDS="ghostscript libQtGui libQtXml libQtNetwork cups lcms libxml2 \
12 gcc-lib-base aspell python krb5 podofo"
13 BUILD_DEPENDS="qmake Qt4-dev freetype freetype-dev \
14 cairo cairo-dev tiff tiff-dev lcms lcms-dev jpeg jpeg-dev libpng libpng-dev \
15 cups cups-dev fontconfig fontconfig-dev libxml2 libxml2-dev podofo-dev \
16 ghostscript python python-dev python-pil pkg-config aspell aspell-dev \
17 libboost-dev openssl openssl-dev zlib tk"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
24 make -j 4 &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share $fs/usr/lib
32 cp -a $_pkg/usr/share/scribus $fs/usr/share
33 cp -a $_pkg/usr/lib/scribus $fs/usr/lib
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/share/mimelnk $fs/usr/share
36 cp -a stuff/* $fs
37 }