wok-6.x view scribus/receipt @ rev 20664

Up code2 (3995)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 15 17:26:52 2019 +0100 (2019-01-15)
parents 7896f0694ef6
children a78610b2eb47
line source
1 # SliTaz package receipt.
3 PACKAGE="scribus"
4 VERSION="1.4.6"
5 CATEGORY="office"
6 SHORT_DESC="professional publishing software."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
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 cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
25 make $MAKEFLAGS &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share $fs/usr/lib
33 cp -a $install/usr/share/scribus $fs/usr/share
34 cp -a $install/usr/lib/scribus $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/share/mimelnk $fs/usr/share
37 cp -a stuff/* $fs
38 }