wok-6.x view lzsa/receipt @ rev 25024
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 18 20:10:17 2022 +0000 (2022-05-18) |
parents | 67e02e438fee |
children | 1f9238437d3b |
line source
1 # SliTaz package receipt.
3 PACKAGE="lzsa"
4 VERSION="1.3.11"
5 CATEGORY="system-tools"
6 SHORT_DESC="Efficient packer optimized for fast decompression on 8-bit cpu."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="zlib/libpng cc"
9 WEB_SITE="https://github.com/emmanuel-marty/lzsa"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
14 current_version()
15 {
16 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
17 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed -i 's|^CC=.*$|CC=gcc|;s|^CFLAGS=|&-std=gnu99 |' \
24 Makefile
25 make
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin
32 mkdir -p $install/usr/share/doc
34 cp -a $src/lzsa $fs/usr/bin
35 cp $src/README* $install/usr/share/doc
36 }