void-packages/srcpkgs/pam-mount/template

36 lines
1.0 KiB
Bash

# Template file for 'pam-mount'
pkgname=pam-mount
version=2.20
revision=1
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
pcre2-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="https://inai.de/files/pam_mount/pam_mount-${version}.tar.xz"
checksum=5426207a485680f8e1764ba405bb38c39a4e0c8306bc8271910f1b819a336ced
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
}
}