wok-current annotate foomatic-db/receipt @ rev 25665

Patch wpa_supplicant CVE-2023-52160
author Stanislas Leduc <shann@slitaz.org>
date Sat Mar 02 09:25:52 2024 +0000 (4 months ago)
parents a23978bfa665
children
rev   line source
jozee@4551 1 # SliTaz package receipt.
jozee@4551 2
jozee@4551 3 PACKAGE="foomatic-db"
shann@25629 4 VERSION="4.0-20230930"
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"
pascal@25053 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
jozee@4551 10 WEB_SITE="http://www.linuxprinting.org/foomatic.html"
shann@25629 11 WGET_URL="https://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
shann@25634 17 # Take long long time for recompress, need check why
shann@25634 18 COOKOPTS="!gz"
shann@25634 19
pascal@24439 20 # What is the latest version available today?
pascal@24439 21 current_version()
pascal@24439 22 {
pascal@25492 23 wget -O - https://www.openprinting.org/download/foomatic/ 2>/dev/null | \
pascal@24439 24 sed "/current/d;/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24439 25 }
pascal@24439 26
jozee@4551 27 # Rules to configure and make the package.
jozee@4551 28 compile_rules()
jozee@4551 29 {
jozee@4551 30 ./configure \
jozee@4551 31 --prefix=/usr \
jozee@4551 32 --sysconfdir=/etc \
jozee@4551 33 $CONFIGURE_ARGS &&
shann@25629 34
jozee@4551 35 make &&
pascal@15073 36 make DESTDIR=$DESTDIR install
jozee@4551 37
jozee@4551 38 }
jozee@4551 39
jozee@4551 40 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@4551 41 genpkg_rules()
jozee@4551 42 {
jozee@4551 43 mkdir -p $fs/usr
pascal@15073 44 cp -a $install/usr/share $fs/usr
jozee@4551 45
jozee@4551 46 # remove unzipped ppd files
jozee@4551 47 find $fs/usr/share/foomatic/db/source/PPD -name "*.ppd" -exec rm -f '{}' 2>/dev/null \;
jozee@4551 48 }
jozee@4551 49