mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
25 lines
813 B
Bash
25 lines
813 B
Bash
# $Id: PKGBUILD 52324 2009-09-17 11:00:27Z allan $
|
|
# Maintainer: Paul Mattal <paul@archlinux.org>
|
|
# Contributor: Comete <la_comete@tiscali.fr>
|
|
pkgname=pam_ldap
|
|
pkgver=184
|
|
pkgrel=3
|
|
pkgdesc="LDAP authentication module for the PAM framework"
|
|
arch=(i686 x86_64)
|
|
url="http://www.padl.com/OSS/pam_ldap.html"
|
|
license=('LGPL')
|
|
depends=('libldap>=2.4.18' 'pam')
|
|
backup=("etc/pam_ldap.conf")
|
|
install=
|
|
source=(http://www.padl.com/download/${pkgname}-${pkgver}.tar.gz)
|
|
md5sums=('1b381b5f1ce67fe0a885d9a7c69b93af')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --libdir=/lib \
|
|
--with-ldap-conf-file=/etc/pam_ldap.conf \
|
|
--mandir=/usr/share/man || return 1
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
mv "${pkgdir}/etc/ldap.conf" "${pkgdir}/etc/pam_ldap.conf" || return 1
|
|
}
|