wok rev 25015

Add bzip3
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 17 11:06:25 2022 +0000 (6 months ago)
parents 6b47ab094b52
children 426a1cad702b
files bzip3-dev/receipt bzip3/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/bzip3-dev/receipt	Tue May 17 11:06:25 2022 +0000
     1.3 @@ -0,0 +1,20 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="bzip3-dev"
     1.7 +VERSION="1.1.3"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="High-quality data compressor, development files."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="LGPL3"
    1.12 +WEB_SITE="https://github.com/kspalaiologos/bzip3"
    1.13 +WANTED="bzip3"
    1.14 +
    1.15 +DEPENDS="bzip3"
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +	mkdir -p $fs/usr/lib
    1.21 +	cp -a $install/usr/include	$fs/usr/
    1.22 +	cp -a $install/usr/lib/*a	$fs/usr/lib/
    1.23 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/bzip3/receipt	Tue May 17 11:06:25 2022 +0000
     2.3 @@ -0,0 +1,37 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="bzip3"
     2.7 +VERSION="1.1.3"
     2.8 +CATEGORY="utilities"
     2.9 +TAGS="compression archive"
    2.10 +SHORT_DESC="High-quality data compressor."
    2.11 +MAINTAINER="pascal.bellard@slitaz.org"
    2.12 +LICENSE="LGPL3"
    2.13 +WEB_SITE="https://github.com/kspalaiologos/bzip3"
    2.14 +
    2.15 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.16 +WGET_URL="$WEB_SITE/releases/download/$VERSION/$TARBALL"
    2.17 +
    2.18 +# What is the latest version available today?
    2.19 +current_version()
    2.20 +{
    2.21 +	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    2.22 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    2.23 +}
    2.24 +
    2.25 +# Rules to configure and make the package.
    2.26 +compile_rules()
    2.27 +{
    2.28 +	./configure CFLAGS="$CFLAGS -std=c99" \
    2.29 +		--prefix=/usr \
    2.30 +		$CONFIGURE_ARGS &&
    2.31 +	make && make DESTDIR=$DESTDIR install
    2.32 +}
    2.33 +
    2.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.35 +genpkg_rules()
    2.36 +{
    2.37 +	mkdir -p $fs/usr/lib
    2.38 +	cp -a $install/usr/bin		$fs/usr/
    2.39 +	cp -a $install/usr/lib/*so	$fs/usr/lib/
    2.40 +}