wok annotate bsc/receipt @ rev 24299

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 15 15:21:40 2022 +0000 (2022-01-15)
parents 5ea0ce1cecc0
children 076f424196b2
rev   line source
pascal@19224 1 # SliTaz package receipt.
pascal@19224 2
pascal@19224 3 PACKAGE="bsc"
pascal@19224 4 VERSION="3.1.0"
pascal@19224 5 CATEGORY="base-system"
pascal@19224 6 SHORT_DESC="High performance block-sorting data compression."
pascal@19224 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@19224 8 LICENSE="GPL3 LGPL3 Apache"
pascal@19224 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@19224 10 WEB_SITE="http://libbsc.com/"
pascal@19224 11 WGET_URL="https://github.com/IlyaGrebnov/libbsc/archive/$VERSION.tar.gz"
pascal@19224 12 TAGS="compression"
pascal@19224 13
pascal@19224 14 DEPENDS="gcc-lib-base libgomp"
pascal@19224 15
pascal@24055 16 current_version()
pascal@24055 17 {
pascal@24299 18 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@24055 19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 20 }
pascal@24055 21
pascal@19224 22 # Rules to configure and make the package.
pascal@19224 23 compile_rules()
pascal@19224 24 {
pascal@19224 25 # LIBBSC_SORT_TRANSFORM_SUPPORT is not free and not used.
pascal@19224 26 make
pascal@19224 27 }
pascal@19224 28
pascal@19224 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@19224 30 genpkg_rules()
pascal@19224 31 {
pascal@19224 32 mkdir -p $fs/usr/bin
pascal@19224 33 cp -a $src/bsc $fs/usr/bin
pascal@19224 34 }