wok diff bsc/receipt @ rev 24459

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 16 11:53:30 2022 +0000 (2022-02-16)
parents 076f424196b2
children
line diff
     1.1 --- a/bsc/receipt	Sun Feb 06 11:51:57 2022 +0000
     1.2 +++ b/bsc/receipt	Wed Feb 16 11:53:30 2022 +0000
     1.3 @@ -1,17 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="bsc"
     1.7 -VERSION="3.1.0"
     1.8 +VERSION="3.2.4"
     1.9  CATEGORY="base-system"
    1.10 +TAGS="compression"
    1.11  SHORT_DESC="High performance block-sorting data compression."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL3 LGPL3 Apache"
    1.14 +WEB_SITE="http://libbsc.com/"
    1.15 +REPOLOGY="libbsc"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WEB_SITE="http://libbsc.com/"
    1.19 -WGET_URL="https://github.com/IlyaGrebnov/libbsc/archive/$VERSION.tar.gz"
    1.20 -TAGS="compression"
    1.21 +WGET_URL="https://github.com/IlyaGrebnov/libbsc/archive/refs/tags/v$VERSION.tar.gz"
    1.22  
    1.23 -DEPENDS="gcc-lib-base libgomp"
    1.24 +DEPENDS="gcc83-lib-base libgomp"
    1.25 +BUILD_DEPENDS="gcc83"
    1.26  
    1.27  current_version()
    1.28  {
    1.29 @@ -22,13 +25,15 @@
    1.30  # Rules to configure and make the package.
    1.31  compile_rules()
    1.32  {
    1.33 +	patch	--strip=0 --input=$stuff/patches/makefile-3.2.4 &&
    1.34 +
    1.35  	# LIBBSC_SORT_TRANSFORM_SUPPORT is not free and not used.
    1.36 -	make
    1.37 +	make CC=gcc-83
    1.38  }
    1.39  
    1.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.41  genpkg_rules()
    1.42  {
    1.43  	mkdir -p $fs/usr/bin
    1.44 -	cp -a $src/bsc $fs/usr/bin
    1.45 +	cp -a $src/bsc	$fs/usr/bin
    1.46  }