wok-4.x view scribus/receipt @ rev 12322
get-wfica: update (thanks Carl)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 22 18:22:54 2012 +0200 (2012-08-22) |
parents | 8e4c74abdf74 |
children |
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 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 $MAKEFLAGS &&
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 }