wok-current view gutenprint/receipt @ rev 23540
updated python-pygraphviz (0.99.1 -> 1.5)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 06 17:09:12 2020 +0100 (2020-04-06) |
parents | 84ae0c3ef107 |
children | ba7cbdb5749c |
line source
1 # SliTaz package receipt.
3 PACKAGE="gutenprint"
4 VERSION="5.3.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="Top quality printer drivers for Canon, Epson."
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://sourceforge.net/projects/gimp-print/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$SF_MIRROR/gimp-print/$TARBALL"
14 DEPENDS="cups gmp gnutls gtk+ libtasn1 readline"
15 BUILD_DEPENDS="cups-dev expat-dev foomatic-db-engine gmp-dev
16 gnutls-dev libgcrypt-dev libtasn1-dev liblzma-dev zlib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
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
38 mkdir -p $fs/usr/lib
39 mkdir -p $fs/usr/share
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/sbin $fs/usr
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 cp -a $install/usr/lib/cups $fs/usr/lib
45 cp -a $install/usr/lib/gutenprint $fs/usr/lib
46 cp -a $install/usr/share/cups $fs/usr/share
47 cp -a $install/usr/share/$PACKAGE $fs/usr/share
48 cp -a $install/etc $fs
50 # Remove documentation
51 rm -rf $fs/usr/share/$PACKAGE/doc
52 }