wok-current view ecryptfs-utils/receipt @ rev 25431

qt5: update wget_url with archive.org
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 19 06:34:23 2022 +0000 (2022-08-19)
parents 3e9a9990c985
children
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/Latest version is/!d;s|.*is ||'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure --prefix=/usr \
28 --mandir=/usr/share/man \
29 --disable-pam \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share $fs/usr/lib
39 cp -a $install/sbin $fs
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share/locale $fs/usr/share
42 cp -a $install/usr/share/ecryptfs-utils $fs/usr/share
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 cp -a $install/usr/lib/ecryptfs $fs/usr/lib
45 cp -a $install/usr/lib/python2.7 $fs/usr/lib
46 }