wok view pnm2ppa/receipt @ rev 19365

bwm-ng: add bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 03 14:21:25 2016 +0200 (2016-08-03)
parents b1c8a17cf2ac
children 33835fef1486
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://pnm2ppa.sourceforge.net/"
11 WGET_URL="http://downloads.sourceforge.net/pnm2ppa/$TARBALL"
13 DEPENDS="ghostscript cups foomatic-filters"
14 BUILD_DEPENDS="ghostscript-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 make BINDIR="/usr/bin" CONFDIR="/etc" &&
21 make BINDIR=$DESTDIR/usr/bin CONFDIR=$DESTDIR/etc install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share
30 cp -a $install/etc $fs
31 cp -a $install/usr/bin $fs/usr
33 # Still needs ppd file download for the specific printer from
34 # http://www.linuxprinting.org/show_driver.cgi?driver=pnm2ppa&fromprinter=HP-DeskJet_710C
36 }