34 lines
972 B
Bash
34 lines
972 B
Bash
|
# Template file for 'pam-mount'
|
||
|
pkgname=pam-mount
|
||
|
version=2.15
|
||
|
revision=1
|
||
|
wrksrc=pam_mount-$version
|
||
|
build_style=gnu-configure
|
||
|
configure_args="--with-ssbindir=/usr/bin --with-slibdir=/usr/lib"
|
||
|
hostmakedepends="pkg-config perl"
|
||
|
makedepends="libHX-devel libmount-devel libxml2-devel pcre-devel pam-devel"
|
||
|
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
|
||
|
}
|
||
|
}
|