wok view foomatic-db-engine/receipt @ rev 5286
Up: openssl (1.0.0)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 18 11:06:54 2010 +0200 (2010-04-18) |
parents | 65ea1241ee48 |
children | bf4ee34e64af |
line source
1 # SliTaz package receipt.
3 PACKAGE="foomatic-db-engine"
4 VERSION="4.0-current"
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 DEPENDS="ghostscript perl libxml2 foomatic-filters bash"
9 BUILD_DEPENDS="ghostscript-dev cups-dev perl libxml2-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.linuxprinting.org/foomatic.html"
12 WGET_URL="http://www.openprinting.org/download/foomatic/$TARBALL"
13 TAGS="printer driver printing"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mv $WOK/$PACKAGE/$PACKAGE* $WOK/$PACKAGE/$PACKAGE-$VERSION
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 $CONFIGURE_ARGS &&
24 make &&
25 eval `perl -V:archname`
26 make DESTDIR=$PWD/_pkg \
27 INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
28 INSTALLSITELIB=/usr/lib/perl5/site_perl/current/ \
29 INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname} install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share $fs/etc
37 cp -a $_pkg/etc/foomatic $fs/etc
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $_pkg/usr/sbin $fs/usr
40 cp -a $_pkg/usr/lib $fs/usr
41 cp -a $_pkg/usr/share/foomatic $fs/usr/share
43 }