void-packages/srcpkgs/pam-mount/template

35 lines
1 KiB
Bash
Raw Normal View History

2015-12-10 22:31:07 +00:00
# Template file for 'pam-mount'
pkgname=pam-mount
version=2.15
revision=2
2015-12-10 22:31:07 +00:00
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"
2015-12-10 22:31:07 +00:00
hostmakedepends="pkg-config perl"
makedepends="libHX-devel libmount-devel libxml2-devel pcre-devel pam-devel cryptsetup-devel"
2015-12-10 22:31:07 +00:00
depends="pam"
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=a54efb4a8e8dd52c77b15cd36d9354b4733bb9b4cae75083801c18e67fc12a24
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
}
}