wok view foomatic-db/receipt @ rev 4846
Add xorg-xf86-input-evtouch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 31 20:16:22 2010 +0100 (2010-01-31) |
parents | |
children | fb8aceda65ff |
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"
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 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $_pkg/usr/share $fs/usr
34 # remove unzipped ppd files
35 find $fs/usr/share/foomatic/db/source/PPD -name "*.ppd" -exec rm -f '{}' 2>/dev/null \;
36 }