wok annotate ecryptfs-simple/receipt @ rev 24326
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 27 12:16:00 2022 +0000 (2022-01-27) |
parents | 3e9a9990c985 |
children | 241fb98cab1c |
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@24326 | 22 wget -O - https://github.com/mhogomchungu/ecryptfs-simple/tags 2>/dev/null | \ |
pascal@24326 | 23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;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 } |