void-packages/srcpkgs/nss-pam-ldapd/template
2019-10-19 20:37:10 +02:00

28 lines
844 B
Bash

# Template file for 'nss-pam-ldapd'
pkgname=nss-pam-ldapd
version=0.9.11
revision=1
build_style=gnu-configure
configure_args="--enable-sasl --enable-kerberos --with-pam-seclib-dir=/usr/lib/security/"
conf_files="/etc/nslcd.conf"
hostmakedepends="autoconf automake"
makedepends="pam-devel libldap-devel libsasl-devel mit-krb5-devel"
short_desc="LDAP identity management via nsswitch"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://arthurdejong.org/nss-pam-ldapd/"
distfiles="https://github.com/arthurdejong/nss-pam-ldapd/archive/$version.tar.gz"
checksum=00c2f82a1d58b4bbee58d34b8f27e98aeab04d25445f95b06e2969fe27ab2c9c
system_accounts="nslcd"
case "$XBPS_TARGET_MACHINE" in
*musl) configure_args+=" --disable-nss";;
esac
pre_configure() {
./autogen.sh
}
post_install() {
vsv nslcd
}