void-packages/srcpkgs/pam-mount/template

37 lines
1.1 KiB
Bash

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