From 29883fd322e5c6464bf44e9eaa31b17790461bd0 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 18 Feb 2013 00:08:26 -0800 Subject: Mon Feb 18 00:08:22 PST 2013 --- pcr/lua-ldap/PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pcr/lua-ldap/PKGBUILD (limited to 'pcr/lua-ldap/PKGBUILD') diff --git a/pcr/lua-ldap/PKGBUILD b/pcr/lua-ldap/PKGBUILD new file mode 100644 index 000000000..5443f20ab --- /dev/null +++ b/pcr/lua-ldap/PKGBUILD @@ -0,0 +1,28 @@ +pkgname=lua-ldap +_pkgname=lualdap +pkgver=1.1.0 +pkgrel=2 +pkgdesc="Simple interface from Lua to an LDAP client" +arch=('i686' 'x86_64' 'mips64el') +url="http://www.keplerproject.org/lualdap" +license=('BSD') +makedepends=('lua51' 'libldap') +source=(http://files.luaforge.net/releases/$_pkgname/$_pkgname/LuaLDAP$pkgver/$_pkgname-$pkgver.tar.gz + lualdap-1.1.0-lua51.patch) + +build() { + cd $srcdir/$_pkgname-$pkgver + patch -Np1 -i ${srcdir}/lualdap-1.1.0-lua51.patch + make LUA_INC=/usr/include/lua5.1 + +} + +package() { + cd $srcdir/$_pkgname-$pkgver + make LUA_LIBDIR=${pkgdir}/usr/lib/lua/5.1 \ + LUA_VERSION_NUM=510 \ + install +} + +md5sums=('5e104520c3f1333f38817a9fa1e76681' + 'a7583456b721584ef222d97e49823a81') -- cgit v1.2.3-54-g00ecf