wok-current annotate foomatic-db/receipt @ rev 7332
Added inkscape.png icon to inkscape/stuff folder. Fixes missing icon in menu.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Nov 19 20:37:43 2010 +0000 (2010-11-19) |
parents | fb8aceda65ff |
children | 2540c57957d2 |
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" |
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@4936 | 13 TAGS="printer driver printing" |
jozee@4551 | 14 |
jozee@4551 | 15 # Rules to configure and make the package. |
jozee@4551 | 16 compile_rules() |
jozee@4551 | 17 { |
jozee@4551 | 18 mv $WOK/$PACKAGE/$PACKAGE* $WOK/$PACKAGE/$PACKAGE-$VERSION |
jozee@4551 | 19 cd $src |
jozee@4551 | 20 ./configure \ |
jozee@4551 | 21 --prefix=/usr \ |
jozee@4551 | 22 --sysconfdir=/etc \ |
jozee@4551 | 23 $CONFIGURE_ARGS && |
jozee@4551 | 24 make && |
jozee@4551 | 25 make DESTDIR=$PWD/_pkg install |
jozee@4551 | 26 |
jozee@4551 | 27 } |
jozee@4551 | 28 |
jozee@4551 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@4551 | 30 genpkg_rules() |
jozee@4551 | 31 { |
jozee@4551 | 32 mkdir -p $fs/usr |
jozee@4551 | 33 cp -a $_pkg/usr/share $fs/usr |
jozee@4551 | 34 |
jozee@4551 | 35 # remove unzipped ppd files |
jozee@4551 | 36 find $fs/usr/share/foomatic/db/source/PPD -name "*.ppd" -exec rm -f '{}' 2>/dev/null \; |
jozee@4551 | 37 } |
jozee@4551 | 38 |