luaevent-0.1.1, lua binding of libevent

from pedro martelletto
This commit is contained in:
jolan 2007-07-03 19:36:10 +00:00
parent cf1f0a4d30
commit f8a575b0e3
4 changed files with 48 additions and 0 deletions

38
devel/luaevent/Makefile Normal file
View File

@ -0,0 +1,38 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/07/03 19:36:10 jolan Exp $
COMMENT= "lua binding of libevent"
SHARED_ONLY= Yes
DISTNAME= luaevent-0.1.1
CATEGORIES= devel
MASTER_SITES= http://luaforge.net/frs/download.php/2479/
HOMEPAGE= http://opensvn.csie.org/LuaEvent/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= Pedro Martelletto <pedro@openbsd.org>
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
RUN_DEPENDS= ::lang/lua
BUILD_DEPENDS= ${RUN_DEPENDS}
NO_REGRESS= Yes
WANTLIB= event
CFLAGS+= -I${LOCALBASE}/include -I../include
LINK= ${CC} ${CFLAGS} -fPIC -shared -L${LOCALBASE}/lib -o
do-build:
cd ${WRKDIST}/src && ${LINK} core.so luaevent.c -levent
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/lua/5.1
${INSTALL_DATA_DIR} ${PREFIX}/lib/lua/5.1/luaevent
${INSTALL_DATA} ${WRKSRC}/luaevent.lua ${PREFIX}/share/lua/5.1
${INSTALL_DATA} ${WRKSRC}/src/*.so ${PREFIX}/lib/lua/5.1/luaevent
.include <bsd.port.mk>

5
devel/luaevent/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (luaevent-0.1.1.tar.bz2) = mMRxnnLNPEyE29kJq8aknw==
RMD160 (luaevent-0.1.1.tar.bz2) = ytUq27ga5Te5Veo4X+pwRa3CNo0=
SHA1 (luaevent-0.1.1.tar.bz2) = Wh1uCFOjIE4o2vlOBY6mLB0oKFE=
SHA256 (luaevent-0.1.1.tar.bz2) = QdlMP9okpa4DJSLfDJGQQgFMWqOoBddaupBn42tM9HI=
SIZE (luaevent-0.1.1.tar.bz2) = 13450

1
devel/luaevent/pkg/DESCR Normal file
View File

@ -0,0 +1 @@
luaevent provides a binding of the libevent library to Lua 5.1.

4
devel/luaevent/pkg/PLIST Normal file
View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/07/03 19:36:10 jolan Exp $
lib/lua/5.1/luaevent/
lib/lua/5.1/luaevent/core.so
share/lua/5.1/luaevent.lua