wok-current view foomatic-db-engine/receipt @ rev 18477
easytag, xarchiver: fix warnings during update .desktop system database
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Oct 07 13:34:45 2015 +0300 (2015-10-07) |
parents | 3fc93ab80332 |
children | 9e01bc6321ea |
line source
1 # SliTaz package receipt.
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 XML database"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.linuxprinting.org/foomatic.html"
11 WGET_URL="http://www.openprinting.org/download/foomatic/$TARBALL"
12 TAGS="printer driver printing"
14 DEPENDS="ghostscript perl libxml2 foomatic-filters bash"
15 BUILD_DEPENDS="cups-dev file libxml2-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 PERL_VER=$(grep ^VERSION= $WOK/perl/receipt | cut -d "=" -f2 | sed -e 's/"//g')
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --sysconfdir=/etc \
25 $CONFIGURE_ARGS &&
26 make &&
27 eval `perl -V:archname`
28 make DESTDIR=$DESTDIR \
29 INSTALLARCHLIB=/usr/lib/perl5/$PERL_VER/${archname} \
30 INSTALLSITELIB=/usr/lib/perl5/site_perl/$PERL_VER/ \
31 INSTALLSITEARCH=/usr/lib/perl5/site_perl/$PERL_VER/${archname} install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share $fs/etc
39 cp -a $install/etc/foomatic $fs/etc
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/sbin $fs/usr
42 cp -a $install/usr/lib $fs/usr
43 cp -a $install/usr/share/foomatic $fs/usr/share
45 }
47 pre_install()
48 {
49 rm -rf $1/usr/lib/perl5/site_perl/current
50 }