summaryrefslogtreecommitdiff
path: root/testing/nss_ldap/PKGBUILD
blob: 0a1f93d38276bc7098c214ddd4e901e3288805e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $Id: PKGBUILD 121171 2011-04-29 06:45:19Z stephane $
# Maintainer: Paul Mattal <paul@archlinux.org>
# Contributor: Comete <la_comete@tiscali.fr>

pkgname=nss_ldap
pkgver=265
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' 'krb5')
backup=("etc/nss_ldap.conf")
source=(http://www.padl.com/download/${pkgname}-${pkgver}.tar.gz)
md5sums=('c1cb02d1a85538cf16bca6f6a562abe4')

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
  env PATH=`pwd`:"$PATH" make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}