wok-current annotate 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
rev   line source
pascal@24462 1 # SliTaz package receipt.
pascal@24462 2
pascal@24462 3 PACKAGE="erfs"
pascal@24462 4 VERSION="1.4"
pascal@24462 5 CATEGORY="security"
pascal@24462 6 SHORT_DESC="An easy-to-use, easy-to-setup, hassle-free secure file system with encrypted data"
pascal@24462 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@24462 8 LICENSE="GPL2"
pascal@24462 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@24462 10 WEB_SITE="https://github.com/hackerschoice/erfs"
pascal@24462 11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
pascal@24462 12
pascal@24462 13 DEPENDS="bash sshfs encfs"
pascal@24462 14
pascal@24462 15 # What is the latest version available today?
pascal@24462 16 current_version()
pascal@24462 17 {
pascal@24462 18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24462 19 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24462 20 }
pascal@24462 21
pascal@24462 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@24462 23 genpkg_rules()
pascal@24462 24 {
pascal@24462 25 mkdir -p $fs/usr/bin
pascal@24462 26 cp -a $src/erfs $fs/usr/bin
pascal@24462 27 chmod +x $fs/usr/bin/erfs
pascal@24462 28 }