wok-6.x view foomatic-filters/receipt @ rev 25493
Add libgnt
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 19 17:37:48 2022 +0000 (21 months ago) |
parents | bfabe25c21ff |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="foomatic-filters"
4 VERSION="4.0.17"
5 CATEGORY="system-tools"
6 TAGS="printer driver printing"
7 SHORT_DESC="Foomatic filters needed to run print queues with Foomatic PPDs."
8 MAINTAINER="jozee@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://wiki.linuxfoundation.org/openprinting/database/foomatic"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://www.openprinting.org/download/foomatic/$TARBALL"
15 DEPENDS="gcc-lib-base ghostscript"
16 BUILD_DEPENDS="a2ps autoconf cups cups-dev dbus-dev ghostscript-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed 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 DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/etc
40 mkdir -p $fs/usr/lib
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib/cups $fs/usr/lib
44 cp -a $install/etc $fs
45 }