wok-6.x annotate ecryptfs-utils/receipt @ rev 25417
Openvpn/make-ovpn/client: multi server support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 05 07:39:58 2022 +0000 (2022-08-05) |
parents | 3e9a9990c985 |
children |
rev | line source |
---|---|
pascal@20636 | 1 # SliTaz package receipt. |
pascal@20636 | 2 |
pascal@20636 | 3 PACKAGE="ecryptfs-utils" |
pascal@20636 | 4 VERSION="111" |
pascal@20636 | 5 CATEGORY="security" |
pascal@20636 | 6 SHORT_DESC="POSIX-compliant enterprise cryptographic filesystem tools" |
pascal@20636 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20636 | 8 LICENSE="GPL2" |
pascal@20636 | 9 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz" |
pascal@20636 | 10 WEB_SITE="https://launchpad.net/ecryptfs" |
pascal@20636 | 11 WGET_URL="$WEB_SITE/trunk/$VERSION/+download/$TARBALL" |
pascal@20636 | 12 TAGS="cryptography" |
pascal@20636 | 13 |
pascal@20636 | 14 DEPENDS="keyutils nss python" |
pascal@20636 | 15 BUILD_DEPENDS="keyutils-dev nss-dev python-dev" |
pascal@20636 | 16 |
pascal@24434 | 17 # What is the latest version available today? |
pascal@24434 | 18 current_version() |
pascal@24434 | 19 { |
pascal@24434 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24434 | 21 sed '/Latest version is/!d;s|.*is ||' |
pascal@24434 | 22 } |
pascal@24434 | 23 |
pascal@20636 | 24 # Rules to configure and make the package. |
pascal@20636 | 25 compile_rules() |
pascal@20636 | 26 { |
pascal@20636 | 27 ./configure --prefix=/usr \ |
pascal@20636 | 28 --mandir=/usr/share/man \ |
pascal@20636 | 29 --disable-pam \ |
pascal@20636 | 30 $CONFIGURE_ARGS && |
pascal@20636 | 31 make && |
pascal@20636 | 32 make DESTDIR=$DESTDIR install |
pascal@20636 | 33 } |
pascal@20636 | 34 |
pascal@20636 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20636 | 36 genpkg_rules() |
pascal@20636 | 37 { |
pascal@20636 | 38 mkdir -p $fs/usr/share $fs/usr/lib |
pascal@20636 | 39 cp -a $install/sbin $fs |
pascal@20636 | 40 cp -a $install/usr/bin $fs/usr |
pascal@20636 | 41 cp -a $install/usr/share/locale $fs/usr/share |
pascal@20636 | 42 cp -a $install/usr/share/ecryptfs-utils $fs/usr/share |
pascal@20636 | 43 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@20636 | 44 cp -a $install/usr/lib/ecryptfs $fs/usr/lib |
pascal@20636 | 45 cp -a $install/usr/lib/python2.7 $fs/usr/lib |
pascal@20636 | 46 } |