wok-next view scribus/receipt @ rev 20454
Choose between libpng16 and libpng12
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 17:32:31 2018 +0200 (2018-02-28) |
parents | c765927c5087 |
children | d43bf7aae921 |
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 libpng16 libpng16-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 }