wok-current view 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 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 }