wok annotate foomatic-db-engine/receipt @ rev 4677

Up: intltool (0.40.6)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Dec 30 10:26:31 2009 +0100 (2009-12-30)
parents
children fb8aceda65ff
rev   line source
jozee@4552 1 # SliTaz package receipt.
jozee@4552 2
jozee@4552 3 PACKAGE="foomatic-db-engine"
jozee@4552 4 VERSION="4.0-current"
jozee@4552 5 CATEGORY="system-tools"
jozee@4552 6 SHORT_DESC="database engine generates PPD files from the data in Foomatic's XML database"
jozee@4552 7 MAINTAINER="jozee@slitaz.org"
jozee@4552 8 DEPENDS="ghostscript perl libxml2 foomatic-filters bash"
jozee@4552 9 BUILD_DEPENDS="ghostscript-dev cups-dev perl libxml2-dev"
jozee@4552 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@4552 11 WEB_SITE="http://www.linuxprinting.org/foomatic.html"
jozee@4552 12 WGET_URL="http://www.openprinting.org/download/foomatic/$TARBALL"
jozee@4552 13
jozee@4552 14 # Rules to configure and make the package.
jozee@4552 15 compile_rules()
jozee@4552 16 {
jozee@4552 17 mv $WOK/$PACKAGE/$PACKAGE* $WOK/$PACKAGE/$PACKAGE-$VERSION
jozee@4552 18 cd $src
jozee@4552 19 ./configure \
jozee@4552 20 --prefix=/usr \
jozee@4552 21 --sysconfdir=/etc \
jozee@4552 22 $CONFIGURE_ARGS &&
jozee@4552 23 make &&
jozee@4552 24 eval `perl -V:archname`
jozee@4552 25 make DESTDIR=$PWD/_pkg \
jozee@4552 26 INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
jozee@4552 27 INSTALLSITELIB=/usr/lib/perl5/site_perl/current/ \
jozee@4552 28 INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname} install
jozee@4552 29
jozee@4552 30 }
jozee@4552 31
jozee@4552 32 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@4552 33 genpkg_rules()
jozee@4552 34 {
jozee@4552 35 mkdir -p $fs/usr/share $fs/etc
jozee@4552 36 cp -a $_pkg/etc/foomatic $fs/etc
jozee@4552 37 cp -a $_pkg/usr/bin $fs/usr
jozee@4552 38 cp -a $_pkg/usr/sbin $fs/usr
jozee@4552 39 cp -a $_pkg/usr/lib $fs/usr
jozee@4552 40 cp -a $_pkg/usr/share/foomatic $fs/usr/share
jozee@4552 41
jozee@4552 42 }
jozee@4552 43