wok annotate pnm2ppa/receipt @ rev 3120
Add: gnome-mplayer (lightweight GTK mplayer gui)
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Mon May 18 17:45:26 2009 +0000 (2009-05-18) |
parents | |
children | 51a1ebbda768 |
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" |
jozee@2765 | 8 DEPENDS="ghostscript cups foomatic-filters" |
jozee@2765 | 9 BUILD_DEPENDS="ghostscript-dev" |
jozee@2765 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2765 | 11 WEB_SITE="http://pnm2ppa.sourceforge.net/" |
jozee@2765 | 12 WGET_URL="http://downloads.sourceforge.net/pnm2ppa/$TARBALL" |
jozee@2765 | 13 #http://downloads.sourceforge.net/pnm2ppa/pnm2ppa-1.12.tar.gz |
jozee@2765 | 14 # Rules to configure and make the package. |
jozee@2765 | 15 compile_rules() |
jozee@2765 | 16 { |
jozee@2765 | 17 cd $src |
jozee@2765 | 18 make BINDIR="/usr/bin" CONFDIR="/etc" && |
jozee@2765 | 19 make BINDIR=$PWD/_pkg/usr/bin CONFDIR=$PWD/_pkg/etc install |
jozee@2765 | 20 |
jozee@2765 | 21 } |
jozee@2765 | 22 |
jozee@2765 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2765 | 24 genpkg_rules() |
jozee@2765 | 25 { |
jozee@2765 | 26 mkdir -p $fs/usr/share |
jozee@2765 | 27 |
jozee@2765 | 28 cp -a $_pkg/etc $fs |
jozee@2765 | 29 cp -a $_pkg/usr/bin $fs/usr |
jozee@2765 | 30 |
jozee@2765 | 31 # Still needs ppd file download for the specific printer from |
jozee@2765 | 32 # http://www.linuxprinting.org/show_driver.cgi?driver=pnm2ppa&fromprinter=HP-DeskJet_710C |
jozee@2765 | 33 |
jozee@2765 | 34 } |
jozee@2765 | 35 |