wok-next diff foomatic-db/receipt @ rev 4723
Up: vte* (0.23.1)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Jan 05 15:58:12 2010 +0100 (2010-01-05) |
parents | |
children | fb8aceda65ff |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/foomatic-db/receipt Tue Jan 05 15:58:12 2010 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="foomatic-db" 1.7 +VERSION="4.0-current" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Database used by foomatic-db-engine to generate PPD files" 1.10 +MAINTAINER="jozee@slitaz.org" 1.11 +DEPENDS="ghostscript perl libxml2" 1.12 +BUILD_DEPENDS="ghostscript-dev cups-dev perl libxml2-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://www.linuxprinting.org/foomatic.html" 1.15 +WGET_URL="http://www.openprinting.org/download/foomatic/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + mv $WOK/$PACKAGE/$PACKAGE* $WOK/$PACKAGE/$PACKAGE-$VERSION 1.21 + cd $src 1.22 + ./configure \ 1.23 + --prefix=/usr \ 1.24 + --sysconfdir=/etc \ 1.25 + $CONFIGURE_ARGS && 1.26 + make && 1.27 + make DESTDIR=$PWD/_pkg install 1.28 + 1.29 +} 1.30 + 1.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 +genpkg_rules() 1.33 +{ 1.34 + mkdir -p $fs/usr 1.35 + cp -a $_pkg/usr/share $fs/usr 1.36 + 1.37 + # remove unzipped ppd files 1.38 + find $fs/usr/share/foomatic/db/source/PPD -name "*.ppd" -exec rm -f '{}' 2>/dev/null \; 1.39 +} 1.40 +