wok view fast-lzma2/receipt @ rev 25723
added recipe for xfce4-mixer-lang
author | Hans-G?nter Theisgen |
---|---|
date | Sat Aug 17 16:43:37 2024 +0100 (2 months ago) |
parents | 3e62030539e2 |
children |
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 '/tag\//!d;s|.*tag/v*||;s|".*||;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 }