wok annotate gutenprint/receipt @ rev 3161
wxWidgets: Remove dep on libiconv (build without)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 24 23:25:20 2009 +0200 (2009-05-24) |
parents | b1c8a17cf2ac |
children | 4ab9080e26aa |
rev | line source |
---|---|
jozee@2765 | 1 # SliTaz package receipt. |
jozee@2765 | 2 |
jozee@2765 | 3 PACKAGE="gutenprint" |
jozee@2765 | 4 VERSION="5.2.3" |
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@2852 | 8 DEPENDS="gnutls readline gtk+ cups" |
jozee@2765 | 9 BUILD_DEPENDS="gnutls-dev expat-dev cups-dev libgcrypt-dev zlib-dev" |
jozee@2765 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
jozee@2765 | 11 WEB_SITE="http://gimp-print.sourceforge.net/" |
jozee@2765 | 12 WGET_URL="http://downloads.sourceforge.net/gimp-print/$TARBALL" |
jozee@2765 | 13 |
jozee@2765 | 14 # Rules to configure and make the package. |
jozee@2765 | 15 compile_rules() |
jozee@2765 | 16 { |
jozee@2765 | 17 cd $src |
jozee@2765 | 18 ./configure \ |
jozee@2765 | 19 --prefix=/usr \ |
jozee@2765 | 20 --sysconfdir=/etc \ |
jozee@2765 | 21 --localstatedir=/var \ |
jozee@2765 | 22 --mandir=/usr/share/man \ |
jozee@2765 | 23 --disable-samples \ |
jozee@2765 | 24 --with-cups \ |
jozee@2765 | 25 --disable-libgutenprintui \ |
jozee@2765 | 26 --disable-gtktest \ |
jozee@2765 | 27 $CONFIGURE_ARGS && |
jozee@2765 | 28 make && |
jozee@2765 | 29 make DESTDIR=$PWD/_pkg install |
jozee@2765 | 30 |
jozee@2765 | 31 } |
jozee@2765 | 32 |
jozee@2765 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2765 | 34 genpkg_rules() |
jozee@2765 | 35 { |
jozee@2765 | 36 mkdir -p $fs/etc $fs/usr/lib $fs/usr/share |
jozee@2765 | 37 |
jozee@2765 | 38 cp -a $_pkg/usr/bin $fs/usr |
jozee@2765 | 39 cp -a $_pkg/usr/sbin $fs/usr |
jozee@2765 | 40 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
jozee@2765 | 41 cp -a $_pkg/usr/lib/cups $fs/usr/lib |
jozee@2765 | 42 cp -a $_pkg/usr/lib/gutenprint $fs/usr/lib |
jozee@2765 | 43 cp -a $_pkg/usr/share/cups $fs/usr/share |
jozee@2765 | 44 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
jozee@2765 | 45 cp -a $_pkg/etc $fs |
jozee@2765 | 46 |
jozee@2765 | 47 # Remove docs |
jozee@2765 | 48 rm -rf $fs/usr/share/$PACKAGE/doc |
jozee@2765 | 49 |
jozee@2765 | 50 |
jozee@2765 | 51 } |
jozee@2765 | 52 |