wok-4.x view scribus/receipt @ rev 5952

Up: cpufrequtils 008
author Antoine Bodin <gokhlayeh@mailoo.org>
date Tue Aug 03 22:22:48 2010 +0200 (2010-08-03)
parents caa429db198d
children b04abd30b007
line source
1 # SliTaz package receipt.
3 PACKAGE="scribus"
4 VERSION="1.3.7"
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 }