wok view foomatic-db/receipt @ rev 25125
updated apache-mod-wsgi (4.6.5 -> 4.9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 28 16:29:10 2022 +0100 (2022-06-28) |
parents | bd7510903310 |
children | ed5f25d05ff6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="foomatic-db"
4 VERSION="4.0-20220223"
5 CATEGORY="system-tools"
6 SHORT_DESC="Database used by foomatic-db-engine to generate PPD files"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.linuxprinting.org/foomatic.html"
11 WGET_URL="https://www.openprinting.org/download/foomatic/$TARBALL"
12 TAGS="printer driver printing"
14 DEPENDS="ghostscript perl libxml2"
15 BUILD_DEPENDS="ghostscript-dev cups-dev perl libxml2-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/current/d;/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --sysconfdir=/etc \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $install/usr/share $fs/usr
42 # remove unzipped ppd files
43 find $fs/usr/share/foomatic/db/source/PPD -name "*.ppd" -exec rm -f '{}' 2>/dev/null \;
44 }