wok diff bzip3/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents
children d15c88df1fd2
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/bzip3/receipt	Sat May 21 21:38:29 2022 +0000
     1.3 @@ -0,0 +1,37 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="bzip3"
     1.7 +VERSION="1.1.3"
     1.8 +CATEGORY="utilities"
     1.9 +TAGS="compression archive"
    1.10 +SHORT_DESC="High-quality data compressor."
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +LICENSE="LGPL3"
    1.13 +WEB_SITE="https://github.com/kspalaiologos/bzip3"
    1.14 +
    1.15 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.16 +WGET_URL="$WEB_SITE/releases/download/$VERSION/$TARBALL"
    1.17 +
    1.18 +# What is the latest version available today?
    1.19 +current_version()
    1.20 +{
    1.21 +	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    1.22 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    1.23 +}
    1.24 +
    1.25 +# Rules to configure and make the package.
    1.26 +compile_rules()
    1.27 +{
    1.28 +	./configure CFLAGS="$CFLAGS -std=c99" \
    1.29 +		--prefix=/usr \
    1.30 +		$CONFIGURE_ARGS &&
    1.31 +	make && make DESTDIR=$DESTDIR install
    1.32 +}
    1.33 +
    1.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 +genpkg_rules()
    1.36 +{
    1.37 +	mkdir -p $fs/usr/lib
    1.38 +	cp -a $install/usr/bin		$fs/usr/
    1.39 +	cp -a $install/usr/lib/*so	$fs/usr/lib/
    1.40 +}