wok-6.x view pnm2ppa/receipt @ rev 9326

Add lingot (user request)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Mar 18 13:09:40 2011 +0100 (2011-03-18)
parents
children 51a1ebbda768
line source
1 # SliTaz package receipt.
3 PACKAGE="pnm2ppa"
4 VERSION="1.12"
5 CATEGORY="system-tools"
6 SHORT_DESC="Ghostscript print filter and color driver for some HP DeskJet printers"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="ghostscript cups foomatic-filters"
9 BUILD_DEPENDS="ghostscript-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://pnm2ppa.sourceforge.net/"
12 WGET_URL="http://downloads.sourceforge.net/pnm2ppa/$TARBALL"
13 #http://downloads.sourceforge.net/pnm2ppa/pnm2ppa-1.12.tar.gz
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 make BINDIR="/usr/bin" CONFDIR="/etc" &&
19 make BINDIR=$PWD/_pkg/usr/bin CONFDIR=$PWD/_pkg/etc install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share
28 cp -a $_pkg/etc $fs
29 cp -a $_pkg/usr/bin $fs/usr
31 # Still needs ppd file download for the specific printer from
32 # http://www.linuxprinting.org/show_driver.cgi?driver=pnm2ppa&fromprinter=HP-DeskJet_710C
34 }