34 lines
1 KiB
Bash
34 lines
1 KiB
Bash
# Template file for 'pam-mount'
|
|
pkgname=pam-mount
|
|
version=2.16
|
|
revision=1
|
|
wrksrc=pam_mount-$version
|
|
build_style=gnu-configure
|
|
configure_args="--with-ssbindir=/usr/bin --with-slibdir=/usr/lib"
|
|
conf_files="/etc/security/pam_mount.conf.xml"
|
|
hostmakedepends="pkg-config perl"
|
|
makedepends="libHX-devel libmount-devel libxml2-devel pcre-devel pam-devel cryptsetup-devel"
|
|
depends="pam hxtools"
|
|
short_desc="PAM module that can mount volumes for a user session"
|
|
maintainer="Toyam Cox <Vaelatern@gmail.com>"
|
|
license="GPL-3"
|
|
homepage="http://pam-mount.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/pam-mount/pam_mount/${version}/pam_mount-${version}.tar.xz"
|
|
checksum=ae0207ea6c96189414f906a7b0880abc7751a98e26b3d0375c9afab3722471e7
|
|
|
|
libpam-mount_package() {
|
|
short_desc+=" - runtime library"
|
|
pkg_install() {
|
|
vmove usr/lib/*.so.*
|
|
vmove usr/lib/security/*.so*
|
|
}
|
|
}
|
|
|
|
libpam-mount-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="libpam-mount>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include/*.h
|
|
vmove usr/lib/*.so
|
|
}
|
|
}
|