wok annotate pnm2ppa/receipt @ rev 23976
net-snmp: do not install darwin?.h
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 31 15:07:33 2020 +0000 (2020-10-31) |
parents | 51a1ebbda768 |
children | 080c1dff8494 |
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 |
jozee@2765 | 17 # Rules to configure and make the package. |
jozee@2765 | 18 compile_rules() |
jozee@2765 | 19 { |
Hans-G?nter@21689 | 20 ./configure \ |
Hans-G?nter@21689 | 21 --prefix=/usr \ |
Hans-G?nter@21689 | 22 --sysconfdir=/etc \ |
Hans-G?nter@21689 | 23 $CONFIGURE_ARGS && |
Hans-G?nter@21689 | 24 make && |
Hans-G?nter@21689 | 25 make install |
jozee@2765 | 26 } |
jozee@2765 | 27 |
jozee@2765 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2765 | 29 genpkg_rules() |
jozee@2765 | 30 { |
Hans-G?nter@21689 | 31 mkdir -p $fs/usr |
jozee@2765 | 32 |
Hans-G?nter@21689 | 33 cp -a $install/etc $fs |
Hans-G?nter@21689 | 34 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21689 | 35 |
jozee@2765 | 36 # Still needs ppd file download for the specific printer from |
jozee@2765 | 37 # http://www.linuxprinting.org/show_driver.cgi?driver=pnm2ppa&fromprinter=HP-DeskJet_710C |
Hans-G?nter@21689 | 38 |
jozee@2765 | 39 } |