wok-next view foomatic-db-engine/receipt @ rev 21037

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Nov 06 16:35:54 2018 +0200 (2018-11-06)
parents 757d032c55c7
children 0ed3f456a542
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="devel@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://wiki.linuxfoundation.org/openprinting/database/foomatic"
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=$install \
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 }