# SliTaz package receipt. PACKAGE="pnm2ppa" VERSION="1.12" CATEGORY="system-tools" SHORT_DESC="Ghostscript print filter and color driver for some HP DeskJet printers" MAINTAINER="jozee@slitaz.org" DEPENDS="ghostscript cups foomatic-filters" BUILD_DEPENDS="ghostscript-dev" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://pnm2ppa.sourceforge.net/" WGET_URL="http://downloads.sourceforge.net/pnm2ppa/$TARBALL" #http://downloads.sourceforge.net/pnm2ppa/pnm2ppa-1.12.tar.gz # Rules to configure and make the package. compile_rules() { cd $src make BINDIR="/usr/bin" CONFDIR="/etc" && make BINDIR=$PWD/_pkg/usr/bin CONFDIR=$PWD/_pkg/etc install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share cp -a $_pkg/etc $fs cp -a $_pkg/usr/bin $fs/usr # Still needs ppd file download for the specific printer from # http://www.linuxprinting.org/show_driver.cgi?driver=pnm2ppa&fromprinter=HP-DeskJet_710C }