wok annotate erfs/receipt @ rev 25682
Up libqcow (20240308)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 24 18:25:46 2024 +0000 (5 months ago) |
parents | 934055de50e2 |
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@25599 | 19 sed '/tag\//!d;s|.*tag/v*||;s|".*||;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 } |