wok annotate foomatic-db/receipt @ rev 22932

updated hsetroot (1.0.2 -> 1.0.5)
author Hans-G?nter Theisgen
date Wed Feb 26 17:01:27 2020 +0100 (2020-02-26)
parents fc4ef6edc657
children bfabe25c21ff
rev   line source
jozee@4551 1 # SliTaz package receipt.
jozee@4551 2
jozee@4551 3 PACKAGE="foomatic-db"
slaxemulator@7263 4 VERSION="4.0-20101114"
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"
pascal@15073 8 LICENSE="GPL2"
jozee@4551 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@4551 10 WEB_SITE="http://www.linuxprinting.org/foomatic.html"
jozee@4551 11 WGET_URL="http://www.openprinting.org/download/foomatic/$TARBALL"
jozee@4936 12 TAGS="printer driver printing"
jozee@4551 13
pascal@15073 14 DEPENDS="ghostscript perl libxml2"
pascal@15073 15 BUILD_DEPENDS="ghostscript-dev cups-dev perl libxml2-dev"
pascal@15073 16
jozee@4551 17 # Rules to configure and make the package.
jozee@4551 18 compile_rules()
jozee@4551 19 {
jozee@4551 20 cd $src
jozee@4551 21 ./configure \
jozee@4551 22 --prefix=/usr \
jozee@4551 23 --sysconfdir=/etc \
jozee@4551 24 $CONFIGURE_ARGS &&
jozee@4551 25 make &&
pascal@15073 26 make DESTDIR=$DESTDIR install
jozee@4551 27
jozee@4551 28 }
jozee@4551 29
jozee@4551 30 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@4551 31 genpkg_rules()
jozee@4551 32 {
jozee@4551 33 mkdir -p $fs/usr
pascal@15073 34 cp -a $install/usr/share $fs/usr
jozee@4551 35
jozee@4551 36 # remove unzipped ppd files
jozee@4551 37 find $fs/usr/share/foomatic/db/source/PPD -name "*.ppd" -exec rm -f '{}' 2>/dev/null \;
jozee@4551 38 }
jozee@4551 39