wok-current diff erfs/receipt @ rev 24970
created recipe for midori-lang
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 26 14:49:30 2022 +0100 (2022-04-26) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/erfs/receipt Tue Apr 26 14:49:30 2022 +0100 1.3 @@ -0,0 +1,28 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="erfs" 1.7 +VERSION="1.4" 1.8 +CATEGORY="security" 1.9 +SHORT_DESC="An easy-to-use, easy-to-setup, hassle-free secure file system with encrypted data" 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="GPL2" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="https://github.com/hackerschoice/erfs" 1.14 +WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" 1.15 + 1.16 +DEPENDS="bash sshfs encfs" 1.17 + 1.18 +# What is the latest version available today? 1.19 +current_version() 1.20 +{ 1.21 + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 1.22 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + mkdir -p $fs/usr/bin 1.29 + cp -a $src/erfs $fs/usr/bin 1.30 + chmod +x $fs/usr/bin/erfs 1.31 +}