wok diff pnm2ppa/receipt @ rev 2765
Add printer drivers: hplip, gutneprint, foomatic, pnm2ppa
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Sun Apr 26 16:04:40 2009 +0000 (2009-04-26) |
parents | |
children | 51a1ebbda768 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/pnm2ppa/receipt Sun Apr 26 16:04:40 2009 +0000 1.3 @@ -0,0 +1,35 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="pnm2ppa" 1.7 +VERSION="1.12" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Ghostscript print filter and color driver for some HP DeskJet printers" 1.10 +MAINTAINER="jozee@slitaz.org" 1.11 +DEPENDS="ghostscript cups foomatic-filters" 1.12 +BUILD_DEPENDS="ghostscript-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://pnm2ppa.sourceforge.net/" 1.15 +WGET_URL="http://downloads.sourceforge.net/pnm2ppa/$TARBALL" 1.16 +#http://downloads.sourceforge.net/pnm2ppa/pnm2ppa-1.12.tar.gz 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + make BINDIR="/usr/bin" CONFDIR="/etc" && 1.22 + make BINDIR=$PWD/_pkg/usr/bin CONFDIR=$PWD/_pkg/etc install 1.23 + 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + mkdir -p $fs/usr/share 1.30 + 1.31 + cp -a $_pkg/etc $fs 1.32 + cp -a $_pkg/usr/bin $fs/usr 1.33 + 1.34 + # Still needs ppd file download for the specific printer from 1.35 + # http://www.linuxprinting.org/show_driver.cgi?driver=pnm2ppa&fromprinter=HP-DeskJet_710C 1.36 + 1.37 +} 1.38 +