wok-6.x view pnm2ppa/receipt @ rev 24608

updated gmp and gmp-dev (6.2.0 -> 6.2.1)
author Hans-G?nter Theisgen
date Fri Mar 04 07:03:01 2022 +0100 (2022-03-04)
parents 33835fef1486
children 7dd01dedad38
line source
1 # SliTaz package receipt.
3 PACKAGE="pnm2ppa"
4 VERSION="1.13"
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 WEB_SITE="http://pnm2ppa.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="cups foomatic-filters ghostscript"
15 BUILD_DEPENDS="ghostscript-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/pnm2ppa/files/pnm2ppa/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/pnm2ppa/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 --sysconfdir=/etc \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
41 cp -a $install/etc $fs
42 cp -a $install/usr/bin $fs/usr
44 # Still needs ppd file download for the specific printer from
45 # http://www.linuxprinting.org/show_driver.cgi?driver=pnm2ppa&fromprinter=HP-DeskJet_710C
47 }