wok view lzfse/receipt @ rev 24211
created recipe for perl-file-rsync
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 16:00:22 2021 +0100 (2021-12-31) |
parents | 0da06edeed9f |
children | ac8ca9758df1 |
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*}/releases 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 }