# SliTaz package receipt. PACKAGE="ecryptfs-utils" VERSION="111" CATEGORY="security" SHORT_DESC="POSIX-compliant enterprise cryptographic filesystem tools" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" TARBALL="${PACKAGE}_$VERSION.orig.tar.gz" WEB_SITE="https://launchpad.net/ecryptfs" WGET_URL="$WEB_SITE/trunk/$VERSION/+download/$TARBALL" TAGS="cryptography" DEPENDS="keyutils nss python" BUILD_DEPENDS="keyutils-dev nss-dev python-dev" # What is the latest version available today? current_version() { wget -O - $WEB_SITE 2>/dev/null | \ sed '/Latest version is/!d;s|.*is ||' } # Rules to configure and make the package. compile_rules() { ./configure --prefix=/usr \ --mandir=/usr/share/man \ --disable-pam \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share $fs/usr/lib cp -a $install/sbin $fs cp -a $install/usr/bin $fs/usr cp -a $install/usr/share/locale $fs/usr/share cp -a $install/usr/share/ecryptfs-utils $fs/usr/share cp -a $install/usr/lib/*.so* $fs/usr/lib cp -a $install/usr/lib/ecryptfs $fs/usr/lib cp -a $install/usr/lib/python2.7 $fs/usr/lib }