wok view foomatic-db-engine/receipt @ rev 4814

Up: claws-mail-vcalendar(2.0.7)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Jan 19 01:08:11 2010 +0100 (2010-01-19)
parents
children fb8aceda65ff
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mv $WOK/$PACKAGE/$PACKAGE* $WOK/$PACKAGE/$PACKAGE-$VERSION
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --sysconfdir=/etc \
22 $CONFIGURE_ARGS &&
23 make &&
24 eval `perl -V:archname`
25 make DESTDIR=$PWD/_pkg \
26 INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
27 INSTALLSITELIB=/usr/lib/perl5/site_perl/current/ \
28 INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname} install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share $fs/etc
36 cp -a $_pkg/etc/foomatic $fs/etc
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $_pkg/usr/sbin $fs/usr
39 cp -a $_pkg/usr/lib $fs/usr
40 cp -a $_pkg/usr/share/foomatic $fs/usr/share
42 }