wok view scribus/receipt @ rev 4241

Up: notecase (1.9.8) + fix build wuth gcc 4.x
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Sep 24 19:11:22 2009 +0000 (2009-09-24)
parents 15597e943023
children caa429db198d
line source
1 # SliTaz package receipt.
3 PACKAGE="scribus"
4 VERSION="1.3.5.1"
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 &&
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 }