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

updated gdbm and gdbm-dev (1.18.1 -> 1.23)
author Hans-G?nter Theisgen
date Mon Feb 28 15:06:59 2022 +0100 (2022-02-28)
parents a78610b2eb47
children
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 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - https://sourceforge.net/projects/scribus/files/scribus/ 2>/dev/null | \
25 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
26 sed '/scope="row/!d;s|.*/scribus/||;s|/.*||;q'
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
33 make $MAKEFLAGS &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share $fs/usr/lib
41 cp -a $install/usr/share/scribus $fs/usr/share
42 cp -a $install/usr/lib/scribus $fs/usr/lib
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/share/mimelnk $fs/usr/share
45 cp -a stuff/* $fs
46 }