wok-current annotate bzip3/receipt @ rev 25077
updated openvswitch and openvswitch-dev (2.14.0 -> 2.17.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 15 14:50:09 2022 +0100 (2022-06-15) |
parents | |
children | d15c88df1fd2 |
rev | line source |
---|---|
pascal@25015 | 1 # SliTaz package receipt. |
pascal@25015 | 2 |
pascal@25015 | 3 PACKAGE="bzip3" |
pascal@25015 | 4 VERSION="1.1.3" |
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@25015 | 18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@25015 | 19 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;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@25015 | 36 cp -a $install/usr/lib/*so $fs/usr/lib/ |
pascal@25015 | 37 } |