PKG_NAME=ldap

# pkg-config support is missing from upstream OpenLDAP
# <http://bugs.debian.org/670824>
CLIB_CFLAGS=-DPACKAGE_STRING="\"$(shell make package_string)\""
CLIB_LDFLAGS=-lldap
CLIB_LDFLAGS_STATIC=-lldap -llber
CLIB_OBJS=src/lualdap.lo

LUA_HEADER=
LUA_SOURCES=
LUA_MODNAME=lualdap
# testing requires an LDAP server
#LUA_TEST=cd tests/ && @@LUA@@ test.lua
LUA_MODNAME_CPART=

PKG_VERSION=$(shell dpkg-parsechangelog|grep ^Ver|cut -d ' ' -f 2|cut -d '-' -f 1)
PKG_LIBS_PRIVATE=
PKG_URL=https://github.com/lualdap/lualdap
PKG_REQUIRES=
PKG_CONFLICTS=
