pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wip/lua-dkjson: import lua52-dkjson-2.5



Module Name:	pkgsrc-wip
Committed By:	Jonathan Buschmann <jonthn+pkgsrc%pinacea.com@localhost>
Pushed By:	jonthn
Date:		Thu Jan 2 23:57:59 2020 +0800
Changeset:	68887ad7bd4d49622870309eb8053590ed145536

Added Files:
	lua-dkjson/DESCR
	lua-dkjson/Makefile
	lua-dkjson/PLIST
	lua-dkjson/distinfo

Log Message:
wip/lua-dkjson: import lua52-dkjson-2.5

This is a JSON module written in Lua. It supports UTF-8.

dkjson is written in Lua without any dependencies,
but when LPeg is available dkjson uses it to speed up decoding.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=68887ad7bd4d49622870309eb8053590ed145536

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 lua-dkjson/DESCR    |  4 ++++
 lua-dkjson/Makefile | 28 ++++++++++++++++++++++++++++
 lua-dkjson/PLIST    |  2 ++
 lua-dkjson/distinfo |  6 ++++++
 4 files changed, 40 insertions(+)

diffs:
diff --git a/lua-dkjson/DESCR b/lua-dkjson/DESCR
new file mode 100644
index 0000000000..d45ed642e7
--- /dev/null
+++ b/lua-dkjson/DESCR
@@ -0,0 +1,4 @@
+This is a JSON module written in Lua. It supports UTF-8.
+
+dkjson is written in Lua without any dependencies,
+but when LPeg is available dkjson uses it to speed up decoding.
diff --git a/lua-dkjson/Makefile b/lua-dkjson/Makefile
new file mode 100644
index 0000000000..b9be5869ad
--- /dev/null
+++ b/lua-dkjson/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD$
+
+DISTNAME=	lua-dkjson-2.5
+PKGNAME=	${DISTNAME:S/lua/${LUA_PKGPREFIX}/}
+CATEGORIES=	devel
+MASTER_SITES=	-http://dkolf.de/src/dkjson-lua.fsl/raw/dkjson.lua?name=16cbc26080996d9da827df42cb0844a25518eeb3
+
+EXTRACT_SUFX=	#empty
+
+HOMEPAGE=	http://dkolf.de/src/dkjson-lua.fsl/home
+COMMENT=	JSON module written in Lua
+LICENSE=	mit
+
+NO_BUILD=	yes
+NO_CONFIGURE=	yes
+
+WRKSRC=		${WRKDIR}
+EXTRACT_CMD=	${CP} $$extract_file ${WRKSRC}/dkjson.lua
+
+INSTALLATION_DIRS+=	${LUA_LDIR}
+
+do-install:
+	${INSTALL_DATA} ${WRKDIR}/dkjson.lua \
+	                ${DESTDIR}${PREFIX}/${LUA_LDIR}
+
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lua-dkjson/PLIST b/lua-dkjson/PLIST
new file mode 100644
index 0000000000..593f580fe8
--- /dev/null
+++ b/lua-dkjson/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+${LUA_LDIR}/dkjson.lua
diff --git a/lua-dkjson/distinfo b/lua-dkjson/distinfo
new file mode 100644
index 0000000000..ca1915905a
--- /dev/null
+++ b/lua-dkjson/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.3 2015/08/10 22:13:59 jonthn Exp $
+
+SHA1 (lua-dkjson-2.5) = 16cbc26080996d9da827df42cb0844a25518eeb3
+RMD160 (lua-dkjson-2.5) = c0e0839874726d1785d946ab885b61ef55f05267
+SHA512 (lua-dkjson-2.5) = 781b3ae1f3d66881a11383d86e89b517dd67ae9c1824b7ae7eb4dd2e809dae516000a460b5e077e8f8ffe2cf80c5af76a5f9712e401ddcf0d1240d00ccebf4de
+Size (lua-dkjson-2.5) = 22416 bytes


Home | Main Index | Thread Index | Old Index