wok-next view foomatic-db-engine/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | 2c409915a36c |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="foomatic-db-engine"
4 VERSION="4.0-20101114"
5 CATEGORY="system-tools"
6 SHORT_DESC="Database engine generates PPD files from the data in Foomatic's \
7 XML database"
8 MAINTAINER="jozee@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://www.linuxprinting.org/foomatic.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://www.openprinting.org/download/foomatic/$TARBALL"
15 BUILD_DEPENDS="cups-dev file libxml2-dev perl"
17 compile_rules() {
18 PERL_VER=$(grep ^VERSION= $WOK/perl/receipt | cut -d "=" -f2 | sed -e 's/"//g')
20 ./configure $CONFIGURE_ARGS &&
21 make &&
22 eval $(perl -V:archname)
23 make \
24 DESTDIR=$DESTDIR \
25 INSTALLARCHLIB=/usr/lib/perl5/$PERL_VER/$archname \
26 INSTALLSITELIB=/usr/lib/perl5/site_perl/$PERL_VER/ \
27 INSTALLSITEARCH=/usr/lib/perl5/site_perl/$PERL_VER/$archname \
28 install
29 }
31 genpkg_rules() {
32 copy @std
33 DEPENDS="ghostscript perl libxml2 foomatic-filters bash"
34 TAGS="printer driver printing"
35 }
37 pre_install() {
38 rm -rf "$1/usr/lib/perl5/site_perl/current"
39 }