wok annotate gutenprint/receipt @ rev 13224

get-wifi-firmware: fix get-ipw2?00-firmware
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 12 15:55:25 2012 +0200 (2012-08-12)
parents d5ae23644b77
children 380ffe05937a
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"
slaxemulator@13063 8 DEPENDS="gnutls readline gtk+ cups libtasn1 gmp"
pascal@5033 9 BUILD_DEPENDS="gnutls-dev expat-dev cups-dev libgcrypt-dev zlib-dev \
slaxemulator@13063 10 foomatic-db-engine libtasn1-dev gmp-dev"
jozee@2765 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
jozee@2765 12 WEB_SITE="http://gimp-print.sourceforge.net/"
slaxemulator@10152 13 WGET_URL="$SF_MIRROR/gimp-print/$TARBALL"
jozee@2765 14
jozee@2765 15 # Rules to configure and make the package.
jozee@2765 16 compile_rules()
jozee@2765 17 {
jozee@2765 18 cd $src
jozee@2765 19 ./configure \
jozee@2765 20 --prefix=/usr \
jozee@2765 21 --sysconfdir=/etc \
jozee@2765 22 --localstatedir=/var \
jozee@2765 23 --mandir=/usr/share/man \
slaxemulator@6305 24 --disable-samples \
jozee@2765 25 --with-cups \
slaxemulator@6305 26 --disable-test \
jozee@2765 27 $CONFIGURE_ARGS &&
jozee@2765 28 make &&
slaxemulator@10152 29 make install
jozee@2765 30 }
jozee@2765 31
jozee@2765 32 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2765 33 genpkg_rules()
jozee@2765 34 {
jozee@2765 35 mkdir -p $fs/etc $fs/usr/lib $fs/usr/share
jozee@2765 36
slaxemulator@13063 37 cp -a $install/usr/bin $fs/usr
slaxemulator@13063 38 cp -a $install/usr/sbin $fs/usr
slaxemulator@13063 39 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@13063 40 cp -a $install/usr/lib/cups $fs/usr/lib
slaxemulator@13063 41 cp -a $install/usr/lib/gutenprint $fs/usr/lib
slaxemulator@13063 42 cp -a $install/usr/share/cups $fs/usr/share
slaxemulator@13063 43 cp -a $install/usr/share/$PACKAGE $fs/usr/share
slaxemulator@13063 44 cp -a $install/etc $fs
jozee@2765 45
jozee@2765 46 # Remove docs
slaxemulator@10152 47 rm -rf $fs/usr/share/$PACKAGE/doc
jozee@2765 48 }
jozee@2765 49