wok view ecryptfs-utils/receipt @ rev 24420

created recipe for thunar-lang
author Hans-G?nter Theisgen
date Fri Feb 11 14:04:35 2022 +0100 (2022-02-11)
parents 60a61a9abccd
children 1bd2c6414e5a
line source
1 # SliTaz package receipt.
3 PACKAGE="ecryptfs-utils"
4 VERSION="111"
5 CATEGORY="security"
6 SHORT_DESC="POSIX-compliant enterprise cryptographic filesystem tools"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
10 WEB_SITE="https://launchpad.net/ecryptfs"
11 WGET_URL="$WEB_SITE/trunk/$VERSION/+download/$TARBALL"
12 TAGS="cryptography"
14 DEPENDS="keyutils nss python"
15 BUILD_DEPENDS="keyutils-dev nss-dev python-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure --prefix=/usr \
21 --mandir=/usr/share/man \
22 --disable-pam \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 current_version()
29 {
30 wget -O - $WEB_SITE 2>/dev/null | \
31 sed '/Latest version is/!d;s|.*is ||'
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share $fs/usr/lib
38 cp -a $install/sbin $fs
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/share/locale $fs/usr/share
41 cp -a $install/usr/share/ecryptfs-utils $fs/usr/share
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/usr/lib/ecryptfs $fs/usr/lib
44 cp -a $install/usr/lib/python2.7 $fs/usr/lib
45 }