wok view erfs/receipt @ rev 24462

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 16 21:07:01 2022 +0000 (2022-02-16)
parents
children 20ad21d5532c
line source
1 # SliTaz package receipt.
3 PACKAGE="erfs"
4 VERSION="1.4"
5 CATEGORY="security"
6 SHORT_DESC="An easy-to-use, easy-to-setup, hassle-free secure file system with encrypted data"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/hackerschoice/erfs"
11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
13 DEPENDS="bash sshfs encfs"
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 gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin
26 cp -a $src/erfs $fs/usr/bin
27 chmod +x $fs/usr/bin/erfs
28 }