wok view fast-lzma2/receipt @ rev 25376

updated tzdata (2019c -> 2022a)
author Hans-G?nter Theisgen
date Sat Jul 30 10:43:02 2022 +0100 (2022-07-30)
parents
children 20ad21d5532c
line source
1 # SliTaz package receipt.
3 PACKAGE="fast-lzma2"
4 VERSION="1.0.1"
5 CATEGORY="base-system"
6 SHORT_DESC="Fast LZMA2 Library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/conor42/fast-lzma2"
11 WGET_URL="https://github.com/conor42/fast-lzma2/archive/refs/tags/v$VERSION.tar.gz"
13 BUILD_DEPENDS="gcc83"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 find -name Makefile | xargs sed -i 's|uname -m|echo i686|;s|/local||'
26 make CC=gcc-83 PREFIX=/usr &&
27 make DESTDIR=$DESTDIR install
28 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/lib $fs/usr
36 }