wok annotate bzip3/receipt @ rev 25678
Patch ghostscript CVE-2023-36664
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 08 14:12:03 2024 +0100 (7 months ago) |
parents | 76c8a51f118d |
children |
rev | line source |
---|---|
pascal@25015 | 1 # SliTaz package receipt. |
pascal@25015 | 2 |
pascal@25015 | 3 PACKAGE="bzip3" |
pascal@25630 | 4 VERSION="1.4.0" |
pascal@25015 | 5 CATEGORY="utilities" |
pascal@25015 | 6 TAGS="compression archive" |
pascal@25015 | 7 SHORT_DESC="High-quality data compressor." |
pascal@25015 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@25015 | 9 LICENSE="LGPL3" |
pascal@25015 | 10 WEB_SITE="https://github.com/kspalaiologos/bzip3" |
pascal@25015 | 11 |
pascal@25015 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@25015 | 13 WGET_URL="$WEB_SITE/releases/download/$VERSION/$TARBALL" |
pascal@25015 | 14 |
pascal@25015 | 15 # What is the latest version available today? |
pascal@25015 | 16 current_version() |
pascal@25015 | 17 { |
pascal@25601 | 18 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@25597 | 19 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@25015 | 20 } |
pascal@25015 | 21 |
pascal@25015 | 22 # Rules to configure and make the package. |
pascal@25015 | 23 compile_rules() |
pascal@25015 | 24 { |
pascal@25015 | 25 ./configure CFLAGS="$CFLAGS -std=c99" \ |
pascal@25015 | 26 --prefix=/usr \ |
pascal@25015 | 27 $CONFIGURE_ARGS && |
pascal@25015 | 28 make && make DESTDIR=$DESTDIR install |
pascal@25015 | 29 } |
pascal@25015 | 30 |
pascal@25015 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@25015 | 32 genpkg_rules() |
pascal@25015 | 33 { |
pascal@25015 | 34 mkdir -p $fs/usr/lib |
pascal@25015 | 35 cp -a $install/usr/bin $fs/usr/ |
pascal@25622 | 36 cp -a $install/usr/lib/*so* $fs/usr/lib/ |
pascal@25015 | 37 } |