landry dbcc64dea3 Import lualdap 1.1.0.
LuaLDAP is a simple interface from Lua to an LDAP client, in fact it is
a bind to OpenLDAP or to ADSI. It enables a Lua program to:

* Connect to an LDAP server;
* Execute any operation (search, add, compare, delete, modify and
  rename);
* Retrieve entries and references of the search result.

(useful if you want to interface a prosody server to auth your xmpp
clients to an ldap directory)
ok sthen@
2014-11-30 20:54:04 +00:00

34 lines
669 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2014/11/30 20:54:04 landry Exp $
SHARED_ONLY = Yes
COMMENT = interface LDAP from lua
DISTNAME= lualdap-1.1.0
CATEGORIES = databases
MASTER_SITES = http://files.luaforge.net/releases/lualdap/lualdap/LuaLDAP1.1.0/
HOMEPAGE = http://www.keplerproject.org/lualdap/
# MIT
PERMIT_PACKAGE_CDROM= Yes
MODULES= lang/lua
MODLUA_VERSION = 5.1
USE_GMAKE = Yes
NO_TEST = Yes
CFLAGS += -DLDAP_DEPRECATED
ALL_TARGET =
LIB_DEPENDS = databases/openldap
WANTLIB = ldap
do-configure:
${SUBST_CMD} ${WRKSRC}/config
do-install:
${INSTALL_DATA_DIR} ${MODLUA_LIBDIR}
${INSTALL_DATA} ${WRKSRC}/src/lualdap.so ${MODLUA_LIBDIR}
.include <bsd.port.mk>