wok-next annotate foomatic-filters/receipt @ rev 9663
pcre: clean-up receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 01 09:13:52 2011 +0200 (2011-05-01) |
parents | 9f19aee613be |
children | 2540c57957d2 |
rev | line source |
---|---|
jozee@2765 | 1 # SliTaz package receipt. |
jozee@2765 | 2 |
jozee@2765 | 3 PACKAGE="foomatic-filters" |
slaxemulator@7262 | 4 VERSION="4.0.5" |
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@5001 | 8 DEPENDS="ghostscript gcc-lib-base" |
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@4936 | 13 TAGS="printer driver printing" |
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 $CONFIGURE_ARGS && |
jozee@2765 | 23 make && |
jozee@2765 | 24 make DESTDIR=$PWD/_pkg install |
jozee@2765 | 25 |
jozee@2765 | 26 } |
jozee@2765 | 27 |
jozee@2765 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2765 | 29 genpkg_rules() |
jozee@2765 | 30 { |
jozee@2765 | 31 mkdir -p $fs/etc $fs/usr/lib |
jozee@2765 | 32 |
jozee@2765 | 33 cp -a $_pkg/usr/bin $fs/usr |
jozee@2765 | 34 cp -a $_pkg/usr/lib/cups $fs/usr/lib |
jozee@2765 | 35 cp -a $_pkg/etc $fs |
jozee@2765 | 36 |
jozee@2765 | 37 } |
jozee@2765 | 38 |