wok view gutenprint/receipt @ rev 22072

updated ufw (0.34 -> 0.36)
author Hans-G?nter Theisgen
date Fri Oct 25 16:22:34 2019 +0100 (2019-10-25)
parents 6563c185fbc5
children 1d41e6aa71da
line source
1 # SliTaz package receipt.
3 PACKAGE="gutenprint"
4 VERSION="5.2.8"
5 CATEGORY="system-tools"
6 SHORT_DESC="Top quality printer drivers for Canon, Epson"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://gimp-print.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/gimp-print/$TARBALL"
13 DEPENDS="gnutls readline gtk+ cups libtasn1 gmp"
14 BUILD_DEPENDS="gnutls-dev expat-dev cups-dev libgcrypt-dev zlib-dev \
15 foomatic-db-engine libtasn1-dev gmp-dev tar liblzma-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 --mandir=/usr/share/man \
26 --disable-samples \
27 --with-cups \
28 --disable-test \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install 2>&1 | grep -v "rmdir: '/home/slitaz/wok/gutenprint/"
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/etc $fs/usr/lib $fs/usr/share
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/sbin $fs/usr
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 cp -a $install/usr/lib/cups $fs/usr/lib
43 cp -a $install/usr/lib/gutenprint $fs/usr/lib
44 cp -a $install/usr/share/cups $fs/usr/share
45 cp -a $install/usr/share/$PACKAGE $fs/usr/share
46 cp -a $install/etc $fs
48 # Remove docs
49 rm -rf $fs/usr/share/$PACKAGE/doc
50 }