wok-current annotate foomatic-filters/receipt @ rev 3500
tazdev: Add command projects-stats (-ps)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jun 19 05:11:41 2009 +0200 (2009-06-19) |
parents | |
children | a40b9bd3cb51 |
rev | line source |
---|---|
jozee@2765 | 1 # SliTaz package receipt. |
jozee@2765 | 2 |
jozee@2765 | 3 PACKAGE="foomatic-filters" |
jozee@2765 | 4 VERSION="4.0.0" |
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" |
jozee@2765 | 8 DEPENDS="ghostscript" |
jozee@2765 | 9 BUILD_DEPENDS="ghostscript-dev cups-dev" |
jozee@2765 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2765 | 11 WEB_SITE="http://www.linuxprinting.org/foomatic.html" |
jozee@2765 | 12 WGET_URL="http://www.openprinting.org/download/foomatic/$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 $CONFIGURE_ARGS && |
jozee@2765 | 22 make && |
jozee@2765 | 23 make DESTDIR=$PWD/_pkg install |
jozee@2765 | 24 |
jozee@2765 | 25 } |
jozee@2765 | 26 |
jozee@2765 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2765 | 28 genpkg_rules() |
jozee@2765 | 29 { |
jozee@2765 | 30 mkdir -p $fs/etc $fs/usr/lib |
jozee@2765 | 31 |
jozee@2765 | 32 cp -a $_pkg/usr/bin $fs/usr |
jozee@2765 | 33 cp -a $_pkg/usr/lib/cups $fs/usr/lib |
jozee@2765 | 34 cp -a $_pkg/etc $fs |
jozee@2765 | 35 |
jozee@2765 | 36 } |
jozee@2765 | 37 |