# SliTaz package receipt. PACKAGE="pam_mount" VERSION="2.15" CATEGORY="system-tools" SHORT_DESC="PAM Module that can mount volumes for a user session." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2 LGPL" TARBALL="$PACKAGE-$VERSION.tar.xz" #WEB_SITE="https://pam-mount.sourceforge.net/" WEB_SITE="https://inai.de/projects/pam_mount/" WGET_URL="$SF_MIRROR/pam-mount/$TARBALL" BUILD_DEPENDS="pam-dev libhx libhx-dev libcrypto-dev openssl-dev libxml2-dev \ util-linux-mount-dev util-linux-blkid-dev util-linux-uuid-dev" DEPENDS="pam libcrypto libxml2 libhx zlib" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/pam-mount/files/pam_mount/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/pam_mount/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { ./configure --prefix=/usr \ --sysconfdir=/etc --localstatedir=/var \ --mandir=/usr/share/man $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/sbin $fs/usr cp -a $install/sbin $fs cp -a $install/etc $fs cp -a $install/lib $fs cp -a $install/var $fs }