# HG changeset patch # User Hans-G?nter Theisgen # Date 1559576310 -3600 # Node ID 33835fef1486929ead69889da1d94ba660266388 # Parent 27a58646ef66eb19069c8069be1eafb9e51b5e16 updated pnm2ppa (1.12 -> 1.13) diff -r 27a58646ef66 -r 33835fef1486 pnm2ppa/receipt --- a/pnm2ppa/receipt Mon Jun 03 16:14:30 2019 +0100 +++ b/pnm2ppa/receipt Mon Jun 03 16:38:30 2019 +0100 @@ -1,37 +1,39 @@ # SliTaz package receipt. PACKAGE="pnm2ppa" -VERSION="1.12" +VERSION="1.13" CATEGORY="system-tools" -SHORT_DESC="Ghostscript print filter and color driver for some HP DeskJet printers" +SHORT_DESC="Ghostscript print filter and color driver for some HP DeskJet printers." MAINTAINER="jozee@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://pnm2ppa.sourceforge.net/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://pnm2ppa.sourceforge.net/" -WGET_URL="http://downloads.sourceforge.net/pnm2ppa/$TARBALL" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -DEPENDS="ghostscript cups foomatic-filters" +DEPENDS="cups foomatic-filters ghostscript" BUILD_DEPENDS="ghostscript-dev" # Rules to configure and make the package. compile_rules() { - cd $src - make BINDIR="/usr/bin" CONFDIR="/etc" && - make BINDIR=$DESTDIR/usr/bin CONFDIR=$DESTDIR/etc install - + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + $CONFIGURE_ARGS && + make && + make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/share + mkdir -p $fs/usr - cp -a $install/etc $fs - cp -a $install/usr/bin $fs/usr - + cp -a $install/etc $fs + cp -a $install/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 - + } -