import lua-cmsgpack-0.3.0
Lua-cmsgpack is a MessagePack implementation and bindings for Lua. ok dcoppa@
This commit is contained in:
parent
3d3c336bb7
commit
75265f4a2c
35
devel/lua-cmsgpack/Makefile
Normal file
35
devel/lua-cmsgpack/Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/11/05 21:26:19 jasper Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= MessagePack implementation and bindings for Lua
|
||||
|
||||
DISTNAME= lua-cmsgpack-0.3.0
|
||||
CATEGORIES= devel
|
||||
|
||||
HOMEPAGE= https://github.com/antirez/lua-cmsgpack
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM =Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= http://distfiles.nl/
|
||||
|
||||
MODULES= lang/lua
|
||||
|
||||
REGRESS_DEPENDS=${BUILD_PKGPATH}
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${CC} ${CFLAGS} -fPIC -I${MODLUA_INCL_DIR} -shared \
|
||||
${WRKSRC}/lua_cmsgpack.c -o ${WRKSRC}/cmsgpack.so
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${MODLUA_LIBDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/cmsgpack.so ${MODLUA_LIBDIR}
|
||||
|
||||
do-regress:
|
||||
cd ${WRKSRC} && ${MODLUA_BIN} test.lua
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/lua-cmsgpack/distinfo
Normal file
2
devel/lua-cmsgpack/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (lua-cmsgpack-0.3.0.tar.gz) = 1YSGUqbpaL0KRh+Yh8UYrODmnOFz8E5dC7zkqkKvhAg=
|
||||
SIZE (lua-cmsgpack-0.3.0.tar.gz) = 138961
|
12
devel/lua-cmsgpack/patches/patch-test_lua
Normal file
12
devel/lua-cmsgpack/patches/patch-test_lua
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-test_lua,v 1.1.1.1 2012/11/05 21:26:19 jasper Exp $
|
||||
--- test.lua.orig Mon Nov 5 20:26:45 2012
|
||||
+++ test.lua Mon Nov 5 20:27:36 2012
|
||||
@@ -2,6 +2,8 @@
|
||||
-- Copyright(C) 2012 Salvatore Sanfilippo, All Rights Reserved.
|
||||
-- See the copyright notice at the end of lua_cmsgpack.c for more information.
|
||||
|
||||
+local cmsgpack = require 'cmsgpack'
|
||||
+
|
||||
passed = 0
|
||||
failed = 0
|
||||
|
1
devel/lua-cmsgpack/pkg/DESCR
Normal file
1
devel/lua-cmsgpack/pkg/DESCR
Normal file
@ -0,0 +1 @@
|
||||
Lua-cmsgpack is a MessagePack implementation and bindings for Lua.
|
2
devel/lua-cmsgpack/pkg/PLIST
Normal file
2
devel/lua-cmsgpack/pkg/PLIST
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/11/05 21:26:19 jasper Exp $
|
||||
lib/lua/${MODLUA_VERSION}/cmsgpack.so
|
Loading…
Reference in New Issue
Block a user