wok-6.x view foomatic-db/receipt @ rev 5043

Up:cryptsetup; add cryptsetup-dev; update WGET_URL
author Rohit Joshi <jozee@slitaz.org>
date Thu Mar 04 10:52:50 2010 +0000 (2010-03-04)
parents 405d8edddaf0
children fc4ef6edc657
line source
1 # SliTaz package receipt.
3 PACKAGE="foomatic-db"
4 VERSION="4.0-current"
5 CATEGORY="system-tools"
6 SHORT_DESC="Database used by foomatic-db-engine to generate PPD files"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="ghostscript perl libxml2"
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 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $_pkg/usr/share $fs/usr
35 # remove unzipped ppd files
36 find $fs/usr/share/foomatic/db/source/PPD -name "*.ppd" -exec rm -f '{}' 2>/dev/null \;
37 }