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