wok-current view ecryptfs-simple/receipt @ rev 24395
created recipe for py3k-distutils-extra
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 08 10:23:22 2022 +0100 (2022-02-08) |
parents | 3e9a9990c985 |
children | 241fb98cab1c |
line source
1 # SliTaz package receipt.
3 PACKAGE="ecryptfs-simple"
4 VERSION="2017"
5 CATEGORY="security"
6 SHORT_DESC="A very simple utility for working with eCryptfs"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://xyne.archlinux.ca/projects/ecryptfs-simple/"
11 WGET_URL="${WEB_SITE}src/$TARBALL"
12 TAGS="cryptography"
14 DEPENDS="libgcrypt ecryptfs-utils util-linux-mount libgpg-error \
15 util-linux-blkid util-linux-uuid"
16 BUILD_DEPENDS="cmake libgcrypt-dev pkg-config \
17 ecryptfs-utils-dev util-linux-mount-dev keyutils-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://github.com/mhogomchungu/ecryptfs-simple/tags 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/usr $fs
38 }