wok view bsc/receipt @ rev 24416
thunar: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 10 19:39:21 2022 +0000 (2022-02-10) |
parents | 076f424196b2 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="bsc"
4 VERSION="3.2.4"
5 CATEGORY="base-system"
6 TAGS="compression"
7 SHORT_DESC="High performance block-sorting data compression."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL3 LGPL3 Apache"
10 WEB_SITE="http://libbsc.com/"
11 REPOLOGY="libbsc"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="https://github.com/IlyaGrebnov/libbsc/archive/refs/tags/v$VERSION.tar.gz"
16 DEPENDS="gcc83-lib-base libgomp"
17 BUILD_DEPENDS="gcc83"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 patch --strip=0 --input=$stuff/patches/makefile-3.2.4 &&
30 # LIBBSC_SORT_TRANSFORM_SUPPORT is not free and not used.
31 make CC=gcc-83
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/bin
38 cp -a $src/bsc $fs/usr/bin
39 }