wok-current view foomatic-db/receipt @ rev 25571
updated ardour (2.8.14 -> 7.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat May 13 11:12:29 2023 +0100 (18 months ago) |
parents | e1d0a02a021e |
children | a23978bfa665 |
line source
1 # SliTaz package receipt.
3 PACKAGE="foomatic-db"
4 VERSION="4.0-20221117"
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://web.archive.org/web/20221118084846/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 - https://www.openprinting.org/download/foomatic/ 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 }