wok-6.x annotate foomatic-db/receipt @ rev 4615

asterisk: add ilbc, do not stop on missing includes
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 17 14:55:58 2009 +0100 (2009-12-17)
parents
children fb8aceda65ff
rev   line source
jozee@4551 1 # SliTaz package receipt.
jozee@4551 2
jozee@4551 3 PACKAGE="foomatic-db"
jozee@4551 4 VERSION="4.0-current"
jozee@4551 5 CATEGORY="system-tools"
jozee@4551 6 SHORT_DESC="Database used by foomatic-db-engine to generate PPD files"
jozee@4551 7 MAINTAINER="jozee@slitaz.org"
jozee@4551 8 DEPENDS="ghostscript perl libxml2"
jozee@4551 9 BUILD_DEPENDS="ghostscript-dev cups-dev perl libxml2-dev"
jozee@4551 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@4551 11 WEB_SITE="http://www.linuxprinting.org/foomatic.html"
jozee@4551 12 WGET_URL="http://www.openprinting.org/download/foomatic/$TARBALL"
jozee@4551 13
jozee@4551 14 # Rules to configure and make the package.
jozee@4551 15 compile_rules()
jozee@4551 16 {
jozee@4551 17 mv $WOK/$PACKAGE/$PACKAGE* $WOK/$PACKAGE/$PACKAGE-$VERSION
jozee@4551 18 cd $src
jozee@4551 19 ./configure \
jozee@4551 20 --prefix=/usr \
jozee@4551 21 --sysconfdir=/etc \
jozee@4551 22 $CONFIGURE_ARGS &&
jozee@4551 23 make &&
jozee@4551 24 make DESTDIR=$PWD/_pkg install
jozee@4551 25
jozee@4551 26 }
jozee@4551 27
jozee@4551 28 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@4551 29 genpkg_rules()
jozee@4551 30 {
jozee@4551 31 mkdir -p $fs/usr
jozee@4551 32 cp -a $_pkg/usr/share $fs/usr
jozee@4551 33
jozee@4551 34 # remove unzipped ppd files
jozee@4551 35 find $fs/usr/share/foomatic/db/source/PPD -name "*.ppd" -exec rm -f '{}' 2>/dev/null \;
jozee@4551 36 }
jozee@4551 37