wok-next view scribus/receipt @ rev 15609

Up rack (1.3.10)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 06 20:49:37 2013 +0000 (2013-12-06)
parents 0fc3fe6d4459
children c765927c5087
line source
1 # SliTaz package receipt.
3 PACKAGE="scribus"
4 VERSION="1.4.0"
5 CATEGORY="office"
6 SHORT_DESC="professional publishing software."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.scribus.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="ghostscript libQtGui libQtXml libQtNetwork cups lcms libxml2 \
14 gcc-lib-base aspell python krb5 podofo"
15 BUILD_DEPENDS="cmake qmake Qt4-dev freetype freetype-dev \
16 cairo cairo-dev tiff tiff-dev lcms lcms-dev jpeg jpeg-dev libpng libpng-dev \
17 cups cups-dev fontconfig fontconfig-dev libxml2 libxml2-dev podofo-dev \
18 ghostscript python python-dev python-pil pkg-config aspell aspell-dev \
19 libboost-dev openssl openssl-dev zlib tk"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
26 make $MAKEFLAGS &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share $fs/usr/lib
34 cp -a $install/usr/share/scribus $fs/usr/share
35 cp -a $install/usr/lib/scribus $fs/usr/lib
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/share/mimelnk $fs/usr/share
38 cp -a stuff/* $fs
39 }