Commit 4585043e authored by Natanael Copa's avatar Natanael Copa Committed by Francesco Colista

testing/lua-ldap: new aport

Lua binding to ldap
http://www.keplerproject.org/lualdap/

ref #1174
parent 6223c9ec
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-ldap
pkgver=1.1.0
pkgrel=0
pkgdesc="Lua binding to ldap"
url="http://www.keplerproject.org/lualdap/"
arch="all"
license="MIT"
depends=""
depends_dev=""
makedepends="$depends_dev lua-dev openldap-dev"
install=""
subpackages=""
source="http://files.luaforge.net/releases/lualdap/lualdap/LuaLDAP$pkgver/lualdap-$pkgver.tar.gz"
_builddir="$srcdir"/lualdap-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
sed -i -e '/LUA_VERSION_NUM/d' config
}
build() {
cd "$_builddir"
make || return 1
}
package() {
cd "$_builddir"
make install LUA_LIBDIR="$pkgdir"/usr/lib/lua/5.1
}
md5sums="5e104520c3f1333f38817a9fa1e76681 lualdap-1.1.0.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment