mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
29 lines
987 B
Bash
29 lines
987 B
Bash
|
# $Id: PKGBUILD 52321 2009-09-17 10:57:59Z allan $
|
||
|
# Maintainer: Paul Mattal <paul@archlinux.org>
|
||
|
# Contributor: Comete <la_comete@tiscali.fr>
|
||
|
pkgname=nss_ldap
|
||
|
pkgver=264
|
||
|
pkgrel=2
|
||
|
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')
|
||
|
depends=('libldap>=2.4.18' 'heimdal>=1.2.1')
|
||
|
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
|
||
|
}
|