# SliTaz package receipt. PACKAGE="bsc" VERSION="3.2.4" CATEGORY="base-system" TAGS="compression" SHORT_DESC="High performance block-sorting data compression." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL3 LGPL3 Apache" WEB_SITE="http://libbsc.com/" REPOLOGY="libbsc" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/IlyaGrebnov/libbsc/archive/refs/tags/v$VERSION.tar.gz" DEPENDS="gcc83-lib-base libgomp" BUILD_DEPENDS="gcc83" current_version() { wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { patch --strip=0 --input=$stuff/patches/makefile-3.2.4 && # LIBBSC_SORT_TRANSFORM_SUPPORT is not free and not used. make CC=gcc-83 } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin cp -a $src/bsc $fs/usr/bin }