wok-next annotate foomatic-db-engine/receipt @ rev 20827
new tor: 0.3.3.7
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Thu Jun 14 10:13:14 2018 +0000 (2018-06-14) |
parents | 2c409915a36c |
children | d5aab818505e |
rev | line source |
---|---|
al@20534 | 1 # SliTaz package receipt v2. |
jozee@4552 | 2 |
jozee@4552 | 3 PACKAGE="foomatic-db-engine" |
al@20534 | 4 VERSION="4.0-20101114" |
jozee@4552 | 5 CATEGORY="system-tools" |
al@20534 | 6 SHORT_DESC="Database engine generates PPD files from the data in Foomatic's \ |
al@20534 | 7 XML database" |
jozee@4552 | 8 MAINTAINER="jozee@slitaz.org" |
pascal@15073 | 9 LICENSE="GPL2" |
al@20534 | 10 WEB_SITE="http://www.linuxprinting.org/foomatic.html" |
al@20534 | 11 |
jozee@4552 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@4552 | 13 WGET_URL="http://www.openprinting.org/download/foomatic/$TARBALL" |
jozee@4552 | 14 |
pascal@20256 | 15 BUILD_DEPENDS="cups-dev file libxml2-dev perl" |
pascal@15073 | 16 |
al@20534 | 17 compile_rules() { |
slaxemulator@9678 | 18 PERL_VER=$(grep ^VERSION= $WOK/perl/receipt | cut -d "=" -f2 | sed -e 's/"//g') |
al@20534 | 19 |
al@20534 | 20 ./configure $CONFIGURE_ARGS && |
jozee@4552 | 21 make && |
al@20534 | 22 eval $(perl -V:archname) |
al@20534 | 23 make \ |
al@20534 | 24 DESTDIR=$DESTDIR \ |
al@20534 | 25 INSTALLARCHLIB=/usr/lib/perl5/$PERL_VER/$archname \ |
al@20534 | 26 INSTALLSITELIB=/usr/lib/perl5/site_perl/$PERL_VER/ \ |
al@20534 | 27 INSTALLSITEARCH=/usr/lib/perl5/site_perl/$PERL_VER/$archname \ |
al@20534 | 28 install |
jozee@4552 | 29 } |
jozee@4552 | 30 |
al@20534 | 31 genpkg_rules() { |
al@20534 | 32 copy @std |
al@20534 | 33 DEPENDS="ghostscript perl libxml2 foomatic-filters bash" |
al@20534 | 34 TAGS="printer driver printing" |
jozee@4552 | 35 } |
jozee@4552 | 36 |
al@20534 | 37 pre_install() { |
pascal@18730 | 38 rm -rf "$1/usr/lib/perl5/site_perl/current" |
pascal@5912 | 39 } |