wok-6.x diff fast-lzma2/receipt @ rev 25528

try building libluv again
author Hans-G?nter Theisgen
date Sat Feb 25 10:11:09 2023 +0100 (21 months ago)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/fast-lzma2/receipt	Sat Feb 25 10:11:09 2023 +0100
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="fast-lzma2"
     1.7 +VERSION="1.0.1"
     1.8 +CATEGORY="base-system"
     1.9 +SHORT_DESC="Fast LZMA2 Library."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="BSD GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="https://github.com/conor42/fast-lzma2"
    1.14 +WGET_URL="https://github.com/conor42/fast-lzma2/archive/refs/tags/v$VERSION.tar.gz"
    1.15 +
    1.16 +BUILD_DEPENDS="gcc83"
    1.17 +
    1.18 +# What is the latest version available today?
    1.19 +current_version()
    1.20 +{
    1.21 +	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    1.22 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    1.23 +}
    1.24 +
    1.25 +# Rules to configure and make the package.
    1.26 +compile_rules()
    1.27 +{
    1.28 +	find -name Makefile | xargs sed -i 's|uname -m|echo i686|;s|/local||'
    1.29 +	make CC=gcc-83 PREFIX=/usr &&
    1.30 +	make DESTDIR=$DESTDIR install
    1.31 +}
    1.32 +
    1.33 +
    1.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 +genpkg_rules()
    1.36 +{
    1.37 +	mkdir -p $fs/usr
    1.38 +	cp -a $install/usr/lib $fs/usr 
    1.39 +}