vp-build/srcpkgs/nss-pam-ldapd/template

29 lines
834 B
Bash

# Template file for 'nss-pam-ldapd'
pkgname=nss-pam-ldapd
version=0.9.10
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"
system_accounts="nslcd"
short_desc="LDAP identity management via nsswitch"
maintainer="Michael Aldridge <maldridge@VoidLinux.eu>"
license="LGPL-2.1"
homepage="https://arthurdejong.org/nss-pam-ldapd/"
distfiles="https://github.com/arthurdejong/nss-pam-ldapd/archive/$version.tar.gz"
checksum=b27b19a60a936fc9a8ed63230d3d9584a5b9244975eced4b82ca88ecb9e801fd
case "$XBPS_TARGET_MACHINE" in
*musl) configure_args+=" --disable-nss";;
esac
pre_configure() {
./autogen.sh
}
post_install() {
vsv nslcd
}