wok view scribus/receipt @ rev 21709
ccid: update genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 08 10:39:23 2019 +0200 (2019-06-08) |
parents | c765927c5087 |
children | e919c5a2742d |
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="https://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 }