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

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
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"
16 DEPENDS="ghostscript perl libxml2 foomatic-filters bash"
18 TAGS="printer driver printing"
20 compile_rules() {
21 PERL_VER=$(grep ^VERSION= $WOK/perl/receipt | cut -d "=" -f2 | sed -e 's/"//g')
23 ./configure $CONFIGURE_ARGS &&
24 make &&
25 eval $(perl -V:archname)
26 make \
27 DESTDIR=$install \
28 INSTALLARCHLIB=/usr/lib/perl5/$PERL_VER/$archname \
29 INSTALLSITELIB=/usr/lib/perl5/site_perl/$PERL_VER/ \
30 INSTALLSITEARCH=/usr/lib/perl5/site_perl/$PERL_VER/$archname \
31 install || return 1
33 find $install -type f -name '*.pm' -exec chmod u+w '{}' \; # 444->644
34 fix symlinks
35 }
37 #pre_install() {
38 # rm -rf "$1/usr/lib/perl5/site_perl/current"
39 #}