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