wok-next view pnm2ppa/receipt @ rev 16380

ARM: try to fix glib cross compile
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 15 03:48:06 2014 +0200 (2014-04-15)
parents b1c8a17cf2ac
children f48456621a9d
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 }