wok-stable view scribus/receipt @ rev 10767
asterisk-sound: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 31 15:25:51 2011 +0200 (2011-05-31) |
parents | 450b08f0f623 |
children | 8e4c74abdf74 |
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="cmake 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 }