summaryrefslogtreecommitdiff
path: root/social/lua-ldap/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-10-12 12:36:33 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-10-12 12:36:33 -0300
commit008becdf36ce5ab5644ae6b74c494e97b6e6747c (patch)
treead8997b203fe2e1bcd090202b598796368a131dc /social/lua-ldap/PKGBUILD
parent326159237c0afdf9792edf40019530dee18f6490 (diff)
downloadabslibre-008becdf36ce5ab5644ae6b74c494e97b6e6747c.tar.gz
abslibre-008becdf36ce5ab5644ae6b74c494e97b6e6747c.tar.bz2
abslibre-008becdf36ce5ab5644ae6b74c494e97b6e6747c.zip
Prosody modules
Diffstat (limited to 'social/lua-ldap/PKGBUILD')
-rw-r--r--social/lua-ldap/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/social/lua-ldap/PKGBUILD b/social/lua-ldap/PKGBUILD
new file mode 100644
index 000000000..a2ca1c830
--- /dev/null
+++ b/social/lua-ldap/PKGBUILD
@@ -0,0 +1,29 @@
+pkgname=lua-ldap
+_pkgname=lualdap
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="Simple interface from Lua to an LDAP client"
+arch=('i686' 'x86_64' 'mips64el')
+url="http://www.keplerproject.org/lualdap"
+license=('BSD')
+depends=('lua' 'libldap')
+source=(http://files.luaforge.net/releases/$_pkgname/$_pkgname/LuaLDAP$pkgver/$_pkgname-$pkgver.tar.gz)
+
+build() {
+ cd $srcdir/$_pkgname-$pkgver
+
+ make CFLAGS="$CFLAGS" \
+ LUA_LIBDIR=/usr/lib/lua/5.1 \
+ LUA_VERSION_NUM=510 \
+ LUA_INC=/usr/include
+
+}
+
+package() {
+ cd $srcdir/$_pkgname-$pkgver
+ make LUA_LIBDIR=${pkgdir}/usr/lib/lua/5.1 \
+ LUA_VERSION_NUM=510 \
+ install
+}
+
+md5sums=('5e104520c3f1333f38817a9fa1e76681')