wok-next annotate foomatic-db-engine/receipt @ rev 21033
Fix some homepages: follow HTTP redirections.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Nov 04 11:22:16 2018 +0200 (2018-11-04) |
parents | 757d032c55c7 |
children | 0ed3f456a542 |
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" |
al@21020 | 8 MAINTAINER="devel@slitaz.org" |
pascal@15073 | 9 LICENSE="GPL2" |
al@21020 | 10 WEB_SITE="https://wiki.linuxfoundation.org/openprinting/database/foomatic" |
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@21020 | 24 DESTDIR=$install \ |
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 } |