wok-current annotate gutenprint/receipt @ rev 21794

updated firefox-official packages (67.0.3 -> 68.0)
author Hans-G?nter Theisgen
date Wed Aug 07 15:28:16 2019 +0100 (2019-08-07)
parents 6563c185fbc5
children 1d41e6aa71da
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@19695 15 foomatic-db-engine libtasn1-dev gmp-dev tar liblzma-dev"
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