wok annotate gutenprint/receipt @ rev 19319
Add busybox-httpd-ctrl (fast to: start and stop in menu)
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Wed Jul 13 11:40:02 2016 -0300 (2016-07-13) |
parents | 7105e793369a |
children | 84ae0c3ef107 |
rev | line source |
---|---|
jozee@2765 | 1 # SliTaz package receipt. |
jozee@2765 | 2 |
jozee@2765 | 3 PACKAGE="gutenprint" |
slaxemulator@13063 | 4 VERSION="5.2.8" |
jozee@2765 | 5 CATEGORY="system-tools" |
jozee@2765 | 6 SHORT_DESC="Top quality printer drivers for Canon, Epson" |
jozee@2765 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@15000 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@15000 | 10 WEB_SITE="http://gimp-print.sourceforge.net/" |
pascal@15000 | 11 WGET_URL="$SF_MIRROR/gimp-print/$TARBALL" |
pascal@15000 | 12 |
slaxemulator@13063 | 13 DEPENDS="gnutls readline gtk+ cups libtasn1 gmp" |
pascal@5033 | 14 BUILD_DEPENDS="gnutls-dev expat-dev cups-dev libgcrypt-dev zlib-dev \ |
pascal@15302 | 15 foomatic-db-engine libtasn1-dev gmp-dev tar" |
jozee@2765 | 16 |
jozee@2765 | 17 # Rules to configure and make the package. |
jozee@2765 | 18 compile_rules() |
jozee@2765 | 19 { |
jozee@2765 | 20 cd $src |
jozee@2765 | 21 ./configure \ |
jozee@2765 | 22 --prefix=/usr \ |
jozee@2765 | 23 --sysconfdir=/etc \ |
jozee@2765 | 24 --localstatedir=/var \ |
jozee@2765 | 25 --mandir=/usr/share/man \ |
slaxemulator@6305 | 26 --disable-samples \ |
jozee@2765 | 27 --with-cups \ |
slaxemulator@6305 | 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 { |
jozee@2765 | 37 mkdir -p $fs/etc $fs/usr/lib $fs/usr/share |
jozee@2765 | 38 |
slaxemulator@13063 | 39 cp -a $install/usr/bin $fs/usr |
slaxemulator@13063 | 40 cp -a $install/usr/sbin $fs/usr |
slaxemulator@13063 | 41 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@13063 | 42 cp -a $install/usr/lib/cups $fs/usr/lib |
slaxemulator@13063 | 43 cp -a $install/usr/lib/gutenprint $fs/usr/lib |
slaxemulator@13063 | 44 cp -a $install/usr/share/cups $fs/usr/share |
slaxemulator@13063 | 45 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
slaxemulator@13063 | 46 cp -a $install/etc $fs |
jozee@2765 | 47 |
jozee@2765 | 48 # Remove docs |
slaxemulator@10152 | 49 rm -rf $fs/usr/share/$PACKAGE/doc |
jozee@2765 | 50 } |
jozee@2765 | 51 |