wok-stable view pnm2ppa/receipt @ rev 10728

Fixed all sourced slitaz-dev-tools receipts. The way cook works is it keeps the .hg folder when downloading mecurial sources. By downloading the $VERSION.tar.bz2 and renaming it $SOURCE-$VERSION.tar.bz2 we don't keep the .hg folder in source tarball. Repos will be backup on source dvd anyway so this does save a little bit of space.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 28 21:18:14 2011 +0000 (2011-05-28)
parents
children
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 }