wok-current annotate gutenprint/receipt @ rev 23795
updated zsh (5.7.1 -> 5.8)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 22 13:48:01 2020 +0100 (2020-05-22) |
parents | 84ae0c3ef107 |
children | ba7cbdb5749c |
rev | line source |
---|---|
jozee@2765 | 1 # SliTaz package receipt. |
jozee@2765 | 2 |
jozee@2765 | 3 PACKAGE="gutenprint" |
Hans-G?nter@22815 | 4 VERSION="5.3.3" |
jozee@2765 | 5 CATEGORY="system-tools" |
Hans-G?nter@22815 | 6 SHORT_DESC="Top quality printer drivers for Canon, Epson." |
jozee@2765 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
Hans-G?nter@22815 | 9 WEB_SITE="https://sourceforge.net/projects/gimp-print/" |
Hans-G?nter@22815 | 10 |
Hans-G?nter@22815 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@15000 | 12 WGET_URL="$SF_MIRROR/gimp-print/$TARBALL" |
pascal@15000 | 13 |
Hans-G?nter@22815 | 14 DEPENDS="cups gmp gnutls gtk+ libtasn1 readline" |
Hans-G?nter@22815 | 15 BUILD_DEPENDS="cups-dev expat-dev foomatic-db-engine gmp-dev |
Hans-G?nter@22815 | 16 gnutls-dev libgcrypt-dev libtasn1-dev liblzma-dev zlib-dev" |
jozee@2765 | 17 |
jozee@2765 | 18 # Rules to configure and make the package. |
jozee@2765 | 19 compile_rules() |
jozee@2765 | 20 { |
Hans-G?nter@22815 | 21 ./configure \ |
Hans-G?nter@22815 | 22 --prefix=/usr \ |
Hans-G?nter@22815 | 23 --sysconfdir=/etc \ |
Hans-G?nter@22815 | 24 --localstatedir=/var \ |
Hans-G?nter@22815 | 25 --mandir=/usr/share/man \ |
Hans-G?nter@22815 | 26 --disable-samples \ |
Hans-G?nter@22815 | 27 --with-cups \ |
Hans-G?nter@22815 | 28 --disable-test \ |
jozee@2765 | 29 $CONFIGURE_ARGS && |
jozee@2765 | 30 make && |
pascal@15276 | 31 make install 2>&1 | grep -v "rmdir: '/home/slitaz/wok/gutenprint/" |
jozee@2765 | 32 } |
jozee@2765 | 33 |
jozee@2765 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2765 | 35 genpkg_rules() |
jozee@2765 | 36 { |
Hans-G?nter@22815 | 37 mkdir -p $fs/etc |
Hans-G?nter@22815 | 38 mkdir -p $fs/usr/lib |
Hans-G?nter@22815 | 39 mkdir -p $fs/usr/share |
Hans-G?nter@22815 | 40 |
Hans-G?nter@22815 | 41 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22815 | 42 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@22815 | 43 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@22815 | 44 cp -a $install/usr/lib/cups $fs/usr/lib |
Hans-G?nter@22815 | 45 cp -a $install/usr/lib/gutenprint $fs/usr/lib |
Hans-G?nter@22815 | 46 cp -a $install/usr/share/cups $fs/usr/share |
Hans-G?nter@22815 | 47 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
Hans-G?nter@22815 | 48 cp -a $install/etc $fs |
Hans-G?nter@22815 | 49 |
Hans-G?nter@22815 | 50 # Remove documentation |
Hans-G?nter@22815 | 51 rm -rf $fs/usr/share/$PACKAGE/doc |
jozee@2765 | 52 } |