wok annotate gutenprint/receipt @ rev 6309

Up: bison to 2.4.3.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Sep 16 20:53:23 2010 +0000 (2010-09-16)
parents 31630876239a
children b304b521220c
rev   line source
jozee@2765 1 # SliTaz package receipt.
jozee@2765 2
jozee@2765 3 PACKAGE="gutenprint"
slaxemulator@6265 4 VERSION="5.2.6"
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@5029 8 DEPENDS="gnutls readline gtk+ cups libtasn1"
pascal@5033 9 BUILD_DEPENDS="gnutls-dev expat-dev cups-dev libgcrypt-dev zlib-dev \
slaxemulator@6265 10 foomatic-db-engine libtasn1-dev"
jozee@2765 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
jozee@2765 12 WEB_SITE="http://gimp-print.sourceforge.net/"
jozee@2765 13 WGET_URL="http://downloads.sourceforge.net/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-libgutenprintui2 \
slaxemulator@6305 27 --disable-test \
jozee@2765 28 $CONFIGURE_ARGS &&
jozee@2765 29 make &&
jozee@2765 30 make DESTDIR=$PWD/_pkg install
jozee@2765 31
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
jozee@2765 39 cp -a $_pkg/usr/bin $fs/usr
jozee@2765 40 cp -a $_pkg/usr/sbin $fs/usr
jozee@2765 41 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
jozee@2765 42 cp -a $_pkg/usr/lib/cups $fs/usr/lib
jozee@2765 43 cp -a $_pkg/usr/lib/gutenprint $fs/usr/lib
jozee@2765 44 cp -a $_pkg/usr/share/cups $fs/usr/share
jozee@2765 45 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
jozee@2765 46 cp -a $_pkg/etc $fs
jozee@2765 47
jozee@2765 48 # Remove docs
jozee@2765 49 rm -rf $fs/usr/share/$PACKAGE/doc
jozee@2765 50
jozee@2765 51
jozee@2765 52 }
jozee@2765 53