wok-6.x annotate gutenprint/receipt @ rev 12237

uclibc-cross-compiler: update WGET_URL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 09 15:07:54 2012 +0200 (2012-04-09)
parents c52ad5bc3816
children 8a29edd59964
rev   line source
jozee@2765 1 # SliTaz package receipt.
jozee@2765 2
slaxemulator@6318 3
jozee@2765 4 PACKAGE="gutenprint"
slaxemulator@10152 5 VERSION="5.2.7"
jozee@2765 6 CATEGORY="system-tools"
jozee@2765 7 SHORT_DESC="Top quality printer drivers for Canon, Epson"
jozee@2765 8 MAINTAINER="jozee@slitaz.org"
pascal@5029 9 DEPENDS="gnutls readline gtk+ cups libtasn1"
pascal@5033 10 BUILD_DEPENDS="gnutls-dev expat-dev cups-dev libgcrypt-dev zlib-dev \
slaxemulator@6265 11 foomatic-db-engine libtasn1-dev"
jozee@2765 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
jozee@2765 13 WEB_SITE="http://gimp-print.sourceforge.net/"
slaxemulator@10152 14 WGET_URL="$SF_MIRROR/gimp-print/$TARBALL"
jozee@2765 15
jozee@2765 16 # Rules to configure and make the package.
jozee@2765 17 compile_rules()
jozee@2765 18 {
jozee@2765 19 cd $src
jozee@2765 20 ./configure \
jozee@2765 21 --prefix=/usr \
jozee@2765 22 --sysconfdir=/etc \
jozee@2765 23 --localstatedir=/var \
jozee@2765 24 --mandir=/usr/share/man \
slaxemulator@6305 25 --disable-samples \
jozee@2765 26 --with-cups \
slaxemulator@6320 27 --disable-libgutenprintui \
slaxemulator@6305 28 --disable-test \
jozee@2765 29 $CONFIGURE_ARGS &&
jozee@2765 30 make &&
slaxemulator@10152 31 make install
jozee@2765 32
jozee@2765 33 }
jozee@2765 34
jozee@2765 35 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2765 36 genpkg_rules()
jozee@2765 37 {
jozee@2765 38 mkdir -p $fs/etc $fs/usr/lib $fs/usr/share
jozee@2765 39
jozee@2765 40 cp -a $_pkg/usr/bin $fs/usr
jozee@2765 41 cp -a $_pkg/usr/sbin $fs/usr
jozee@2765 42 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
jozee@2765 43 cp -a $_pkg/usr/lib/cups $fs/usr/lib
jozee@2765 44 cp -a $_pkg/usr/lib/gutenprint $fs/usr/lib
jozee@2765 45 cp -a $_pkg/usr/share/cups $fs/usr/share
jozee@2765 46 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
jozee@2765 47 cp -a $_pkg/etc $fs
jozee@2765 48
jozee@2765 49 # Remove docs
slaxemulator@10152 50 rm -rf $fs/usr/share/$PACKAGE/doc
jozee@2765 51 }
jozee@2765 52