wok annotate pnm2ppa/receipt @ rev 24503
updated dulwich (0.19.14 -> 0.19.16)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 20 10:36:29 2022 +0100 (2022-02-20) |
parents | 33835fef1486 |
children | 7dd01dedad38 |
rev | line source |
---|---|
jozee@2765 | 1 # SliTaz package receipt. |
jozee@2765 | 2 |
jozee@2765 | 3 PACKAGE="pnm2ppa" |
Hans-G?nter@21689 | 4 VERSION="1.13" |
jozee@2765 | 5 CATEGORY="system-tools" |
Hans-G?nter@21689 | 6 SHORT_DESC="Ghostscript print filter and color driver for some HP DeskJet printers." |
jozee@2765 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@15375 | 8 LICENSE="GPL2" |
Hans-G?nter@21689 | 9 WEB_SITE="http://pnm2ppa.sourceforge.net/" |
Hans-G?nter@21689 | 10 |
jozee@2765 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21689 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15375 | 13 |
Hans-G?nter@21689 | 14 DEPENDS="cups foomatic-filters ghostscript" |
pascal@15375 | 15 BUILD_DEPENDS="ghostscript-dev" |
pascal@15375 | 16 |
pascal@24396 | 17 # What is the latest version available today? |
pascal@24396 | 18 current_version() |
pascal@24396 | 19 { |
pascal@24396 | 20 wget -O - https://sourceforge.net/projects/pnm2ppa/files/pnm2ppa/ 2>/dev/null | \ |
pascal@24396 | 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24396 | 22 sed '/scope="row/!d;s|.*/pnm2ppa/||;s|/.*||;q' |
pascal@24396 | 23 } |
pascal@24396 | 24 |
jozee@2765 | 25 # Rules to configure and make the package. |
jozee@2765 | 26 compile_rules() |
jozee@2765 | 27 { |
Hans-G?nter@21689 | 28 ./configure \ |
Hans-G?nter@21689 | 29 --prefix=/usr \ |
Hans-G?nter@21689 | 30 --sysconfdir=/etc \ |
Hans-G?nter@21689 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@21689 | 32 make && |
Hans-G?nter@21689 | 33 make install |
jozee@2765 | 34 } |
jozee@2765 | 35 |
jozee@2765 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2765 | 37 genpkg_rules() |
jozee@2765 | 38 { |
Hans-G?nter@21689 | 39 mkdir -p $fs/usr |
jozee@2765 | 40 |
Hans-G?nter@21689 | 41 cp -a $install/etc $fs |
Hans-G?nter@21689 | 42 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21689 | 43 |
jozee@2765 | 44 # Still needs ppd file download for the specific printer from |
jozee@2765 | 45 # http://www.linuxprinting.org/show_driver.cgi?driver=pnm2ppa&fromprinter=HP-DeskJet_710C |
Hans-G?nter@21689 | 46 |
jozee@2765 | 47 } |