wok-6.x annotate foomatic-db-engine/receipt @ rev 4936
add/improve TAGS f* receipts
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Feb 16 13:56:26 2010 +0000 (2010-02-16) |
parents | 65ea1241ee48 |
children | bf4ee34e64af |
rev | line source |
---|---|
jozee@4552 | 1 # SliTaz package receipt. |
jozee@4552 | 2 |
jozee@4552 | 3 PACKAGE="foomatic-db-engine" |
jozee@4552 | 4 VERSION="4.0-current" |
jozee@4552 | 5 CATEGORY="system-tools" |
jozee@4552 | 6 SHORT_DESC="database engine generates PPD files from the data in Foomatic's XML database" |
jozee@4552 | 7 MAINTAINER="jozee@slitaz.org" |
jozee@4552 | 8 DEPENDS="ghostscript perl libxml2 foomatic-filters bash" |
jozee@4552 | 9 BUILD_DEPENDS="ghostscript-dev cups-dev perl libxml2-dev" |
jozee@4552 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@4552 | 11 WEB_SITE="http://www.linuxprinting.org/foomatic.html" |
jozee@4552 | 12 WGET_URL="http://www.openprinting.org/download/foomatic/$TARBALL" |
jozee@4936 | 13 TAGS="printer driver printing" |
jozee@4552 | 14 |
jozee@4552 | 15 # Rules to configure and make the package. |
jozee@4552 | 16 compile_rules() |
jozee@4552 | 17 { |
jozee@4552 | 18 mv $WOK/$PACKAGE/$PACKAGE* $WOK/$PACKAGE/$PACKAGE-$VERSION |
jozee@4552 | 19 cd $src |
jozee@4552 | 20 ./configure \ |
jozee@4552 | 21 --prefix=/usr \ |
jozee@4552 | 22 --sysconfdir=/etc \ |
jozee@4552 | 23 $CONFIGURE_ARGS && |
jozee@4552 | 24 make && |
jozee@4552 | 25 eval `perl -V:archname` |
jozee@4552 | 26 make DESTDIR=$PWD/_pkg \ |
jozee@4552 | 27 INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \ |
jozee@4552 | 28 INSTALLSITELIB=/usr/lib/perl5/site_perl/current/ \ |
jozee@4552 | 29 INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname} install |
jozee@4552 | 30 |
jozee@4552 | 31 } |
jozee@4552 | 32 |
jozee@4552 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@4552 | 34 genpkg_rules() |
jozee@4552 | 35 { |
jozee@4552 | 36 mkdir -p $fs/usr/share $fs/etc |
jozee@4552 | 37 cp -a $_pkg/etc/foomatic $fs/etc |
jozee@4552 | 38 cp -a $_pkg/usr/bin $fs/usr |
jozee@4552 | 39 cp -a $_pkg/usr/sbin $fs/usr |
jozee@4552 | 40 cp -a $_pkg/usr/lib $fs/usr |
jozee@4552 | 41 cp -a $_pkg/usr/share/foomatic $fs/usr/share |
jozee@4552 | 42 |
jozee@4552 | 43 } |
jozee@4552 | 44 |