wok annotate ecryptfs-simple/receipt @ rev 24453

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 15 18:29:48 2022 +0000 (2022-02-15)
parents 095836df71b7
children 00e3b45c063b
rev   line source
pascal@20636 1 # SliTaz package receipt.
pascal@20636 2
pascal@20636 3 PACKAGE="ecryptfs-simple"
pascal@20636 4 VERSION="2017"
pascal@20636 5 CATEGORY="security"
pascal@20636 6 SHORT_DESC="A very simple utility for working with eCryptfs"
pascal@20636 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20636 8 LICENSE="GPL2"
pascal@20636 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@20636 10 WEB_SITE="https://xyne.archlinux.ca/projects/ecryptfs-simple/"
pascal@20636 11 WGET_URL="${WEB_SITE}src/$TARBALL"
pascal@20636 12 TAGS="cryptography"
pascal@20636 13
pascal@20636 14 DEPENDS="libgcrypt ecryptfs-utils util-linux-mount libgpg-error \
pascal@20636 15 util-linux-blkid util-linux-uuid"
pascal@20636 16 BUILD_DEPENDS="cmake libgcrypt-dev pkg-config \
pascal@20636 17 ecryptfs-utils-dev util-linux-mount-dev keyutils-dev"
pascal@20636 18
pascal@24326 19 # What is the latest version available today?
pascal@24076 20 current_version()
pascal@24076 21 {
pascal@24453 22 wget -O - https://aur.archlinux.org/packages/ecryptfs-simple 2>/dev/null | \
pascal@24453 23 sed '/ecryptfs-simple-/!d;s|.*simple-||;s|.tar.*||;q'
pascal@24076 24 }
pascal@24076 25
pascal@20636 26 # Rules to configure and make the package.
pascal@20636 27 compile_rules()
pascal@20636 28 {
pascal@20636 29 cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
pascal@20636 30 make &&
pascal@20636 31 make DESTDIR=$DESTDIR install
pascal@20636 32 }
pascal@20636 33
pascal@20636 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20636 35 genpkg_rules()
pascal@20636 36 {
pascal@20636 37 cp -a $install/usr $fs
pascal@20636 38 }