wok-current annotate pnm2ppa/receipt @ rev 16154
remove libtaz, see http://hg.slitaz.org/slitaz-dev-tools/rev/712c188572fc
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 28 14:10:02 2014 +0000 (2014-03-28) |
parents | b1c8a17cf2ac |
children | 33835fef1486 |
rev | line source |
---|---|
jozee@2765 | 1 # SliTaz package receipt. |
jozee@2765 | 2 |
jozee@2765 | 3 PACKAGE="pnm2ppa" |
jozee@2765 | 4 VERSION="1.12" |
jozee@2765 | 5 CATEGORY="system-tools" |
jozee@2765 | 6 SHORT_DESC="Ghostscript print filter and color driver for some HP DeskJet printers" |
jozee@2765 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@15375 | 8 LICENSE="GPL2" |
jozee@2765 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2765 | 10 WEB_SITE="http://pnm2ppa.sourceforge.net/" |
jozee@2765 | 11 WGET_URL="http://downloads.sourceforge.net/pnm2ppa/$TARBALL" |
pascal@15375 | 12 |
pascal@15375 | 13 DEPENDS="ghostscript cups foomatic-filters" |
pascal@15375 | 14 BUILD_DEPENDS="ghostscript-dev" |
pascal@15375 | 15 |
jozee@2765 | 16 # Rules to configure and make the package. |
jozee@2765 | 17 compile_rules() |
jozee@2765 | 18 { |
jozee@2765 | 19 cd $src |
jozee@2765 | 20 make BINDIR="/usr/bin" CONFDIR="/etc" && |
pascal@15375 | 21 make BINDIR=$DESTDIR/usr/bin CONFDIR=$DESTDIR/etc install |
jozee@2765 | 22 |
jozee@2765 | 23 } |
jozee@2765 | 24 |
jozee@2765 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2765 | 26 genpkg_rules() |
jozee@2765 | 27 { |
jozee@2765 | 28 mkdir -p $fs/usr/share |
jozee@2765 | 29 |
pascal@15375 | 30 cp -a $install/etc $fs |
pascal@15375 | 31 cp -a $install/usr/bin $fs/usr |
jozee@2765 | 32 |
jozee@2765 | 33 # Still needs ppd file download for the specific printer from |
jozee@2765 | 34 # http://www.linuxprinting.org/show_driver.cgi?driver=pnm2ppa&fromprinter=HP-DeskJet_710C |
jozee@2765 | 35 |
jozee@2765 | 36 } |
jozee@2765 | 37 |