wok-current view lzfse/receipt @ rev 24299

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 15 15:21:40 2022 +0000 (2022-01-15)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="lzfse"
4 VERSION="1.0"
5 CATEGORY="base-system"
6 SHORT_DESC="Compression library and command line tool."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/lzfse/lzfse"
11 WGET_URL="$WEB_SITE/archive/$TARBALL"
12 TAGS="compression"
14 current_version()
15 {
16 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
17 sed '/archive.*tar/!d;s|.*/lzfse-\(.*\).tar.*|\1|;q'
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 make install INSTALL_PREFIX=$DESTDIR/usr/
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr/
31 }