wok-current rev 24387
updated bsc (3.1.0 -> 3.2.4)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 07 15:20:20 2022 +0100 (2022-02-07) |
parents | d31ff044ad9c |
children | 378047fc5291 |
files | bsc/description.txt bsc/receipt bsc/stuff/patches/makefile-3.2.4 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/bsc/description.txt Mon Feb 07 15:20:20 2022 +0100 1.3 @@ -0,0 +1,5 @@ 1.4 +Bsc is a program for lossless data compression. 1.5 +Bsc is a high performance file compressor based on lossless, 1.6 +block-sorting data compression algorithms. 1.7 +Libbsc is a library based on bsc, it uses the same algorithms 1.8 +as bsc and enables you to compress memory blocks.
2.1 --- a/bsc/receipt Mon Feb 07 13:22:58 2022 +0100 2.2 +++ b/bsc/receipt Mon Feb 07 15:20:20 2022 +0100 2.3 @@ -1,17 +1,20 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="bsc" 2.7 -VERSION="3.1.0" 2.8 +VERSION="3.2.4" 2.9 CATEGORY="base-system" 2.10 +TAGS="compression" 2.11 SHORT_DESC="High performance block-sorting data compression." 2.12 MAINTAINER="pascal.bellard@slitaz.org" 2.13 LICENSE="GPL3 LGPL3 Apache" 2.14 +WEB_SITE="http://libbsc.com/" 2.15 +REPOLOGY="libbsc" 2.16 + 2.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.18 -WEB_SITE="http://libbsc.com/" 2.19 -WGET_URL="https://github.com/IlyaGrebnov/libbsc/archive/$VERSION.tar.gz" 2.20 -TAGS="compression" 2.21 +WGET_URL="https://github.com/IlyaGrebnov/libbsc/archive/refs/tags/v$VERSION.tar.gz" 2.22 2.23 -DEPENDS="gcc-lib-base libgomp" 2.24 +DEPENDS="gcc83-lib-base libgomp" 2.25 +BUILD_DEPENDS="gcc83" 2.26 2.27 current_version() 2.28 { 2.29 @@ -22,13 +25,15 @@ 2.30 # Rules to configure and make the package. 2.31 compile_rules() 2.32 { 2.33 + patch --strip=0 --input=$stuff/patches/makefile-3.2.4 && 2.34 + 2.35 # LIBBSC_SORT_TRANSFORM_SUPPORT is not free and not used. 2.36 - make 2.37 + make CC=gcc-83 2.38 } 2.39 2.40 # Rules to gen a SliTaz package suitable for Tazpkg. 2.41 genpkg_rules() 2.42 { 2.43 mkdir -p $fs/usr/bin 2.44 - cp -a $src/bsc $fs/usr/bin 2.45 + cp -a $src/bsc $fs/usr/bin 2.46 }
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/bsc/stuff/patches/makefile-3.2.4 Mon Feb 07 15:20:20 2022 +0100 3.3 @@ -0,0 +1,11 @@ 3.4 +--- makefile.orig 3.5 ++++ makefile 3.6 +@@ -49,7 +49,7 @@ 3.7 + all: libbsc.a bsc 3.8 + 3.9 + bsc: libbsc.a bsc.cpp 3.10 +- $(CC) $(CFLAGS) bsc.cpp -o bsc -L. -lbsc 3.11 ++ $(CC) $(CFLAGS) bsc.cpp -o bsc -L. -lbsc -lstdc++ 3.12 + 3.13 + libbsc.a: $(OBJS) 3.14 + rm -f libbsc.a