core/nss_ldap/PKGBUILD

32 lines
1.0 KiB
Bash
Raw Normal View History

2011-08-18 06:17:51 +08:00
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
2010-03-14 23:48:48 +08:00
pkgname=nss_ldap
pkgver=264
2011-08-22 06:21:21 +08:00
pkgrel=4
2010-03-14 23:48:48 +08:00
pkgdesc="The nss_ldap module provides the means for Linux and Solaris workstations to resolve the entities defined in RFC 2307 from LDAP directories."
arch=(i686 x86_64)
url="http://www.padl.com/OSS/nss_ldap.html"
license=('LGPL')
2011-08-18 06:17:51 +08:00
depends=('libldap>=2.4.18' 'krb5')
2010-03-14 23:48:48 +08:00
backup=("etc/nss_ldap.conf")
source=(http://www.padl.com/download/${pkgname}-${pkgver}.tar.gz)
md5sums=('eebab40c6ce2f54e5c377b4895c0c93a')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
--with-ldap-conf-file=/etc/nss_ldap.conf \
--with-ldap=openldap \
--libdir=/lib \
--mandir=/usr/share/man \
--enable-schema-mapping \
--enable-rfc2307bis \
--enable-configurable-krb5-ccname-gssapi || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}