summaryrefslogtreecommitdiff
path: root/dev-lua/dkjson
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-lua/dkjson
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-lua/dkjson')
-rw-r--r--dev-lua/dkjson/Manifest4
-rw-r--r--dev-lua/dkjson/dkjson-2.5.ebuild27
-rw-r--r--dev-lua/dkjson/metadata.xml18
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-lua/dkjson/Manifest b/dev-lua/dkjson/Manifest
new file mode 100644
index 000000000000..526e42e73de3
--- /dev/null
+++ b/dev-lua/dkjson/Manifest
@@ -0,0 +1,4 @@
+DIST dkjson-2.5.tar.gz 15799 SHA256 552bde07d6eb95dc32423cc4c6f6fa40699611ef6ba96ba990fcd0e055b38a93 SHA512 ec9a226c3a94d7561f8f51bb0e6c92a64385b0d8baf83de862cce7e1c302d900bff723be23e4b5b4c3c2accafaf8d75d4b0842e14b2e41390a3f9761d46a38af WHIRLPOOL 91a6be85a277caa8e00ccfc0121384e4ed6db23cd82b00a55d1c8b8c8f89b3c1efe321f6d17f3849eed20ba1f3681052ca94d347dfc17d79a404f98cf64e7f11
+EBUILD dkjson-2.5.ebuild 631 SHA256 82732dda4297580d2aaa3aac856f0824965e04351ff70f0022aa97282a42ec7b SHA512 7c96f71ffa5e3bcb590ee308876e83342088a643e41f088d4ed5d450a6bf22604e3191a4c5a57da0cff13d7d796a577a190befa161bd47d7c5a5d1f03ed7cb60 WHIRLPOOL af059f311b31df0885a5ccd698f46391173b991c29c32c28734bab130c1e02787ef2d0af23fe32bc3b444f15932c08e2d991cc5e2cc10307619b7b7c964f44f1
+MISC ChangeLog 393 SHA256 f36bfc41d370676ee7437d8fee1a908e86d8fd099dcf316e5b9557c6e67fa67c SHA512 a566f7a03d49526b80653601b4bcb50c418509ff275f21a66f2f3b1604d8f45dbf8c5108ea315fcb05acb47b09a693bdc143ef40b312490a2a89a988f925255c WHIRLPOOL b6e201126888024012c597ee6bb2677eec1eb31c44e4a8d2e6076e90276c8e83f03f2a6b699d63af21232756798c76ac01e8a915a6a2d3c7fc0d93dd1c937832
+MISC metadata.xml 620 SHA256 2c5681e668b37e7780276f374df7759046114d7046435175f13ce5ce599a1145 SHA512 e224d3462b86cd9c66705a3ffdce9861c03f3cee050e851c8f9064c19a6257ef1f5f18c125b7349d495a343fb9696b408523cccd09cd99be6ed599d9cb45238f WHIRLPOOL f0eb761140d4a72146bc7b07384699b97e484d3705838ede298e94e9b00861cdee57873ef95544fc76bcdeac71f9a11f254079ed550e04c691ae6e63dce5e05f
diff --git a/dev-lua/dkjson/dkjson-2.5.ebuild b/dev-lua/dkjson/dkjson-2.5.ebuild
new file mode 100644
index 000000000000..ea06f9be6bea
--- /dev/null
+++ b/dev-lua/dkjson/dkjson-2.5.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit toolchain-funcs
+
+DESCRIPTION="David Kolf's JSON module for Lua"
+HOMEPAGE="http://dkolf.de/src/dkjson-lua.fsl/"
+SRC_URI="http://dkolf.de/src/dkjson-lua.fsl/tarball/${P}.tar.gz?uuid=release_2_5 -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+COMMON_DEPEND=">=dev-lang/lua-5.1:=
+ !>=dev-lang/lua-5.4"
+DEPEND="${COMMON_DEPEND}
+ virtual/pkgconfig"
+RDEPEND="${COMMON_DEPEND}"
+
+src_install() {
+ insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)"
+doins dkjson.lua
+dodoc readme.txt
+}
diff --git a/dev-lua/dkjson/metadata.xml b/dev-lua/dkjson/metadata.xml
new file mode 100644
index 000000000000..dda2ed524394
--- /dev/null
+++ b/dev-lua/dkjson/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>williamh@gentoo.org</email>
+ <name>William Hubbs</name>
+ </maintainer>
+ <longdescription lang="en">
+ dkjson is a module for encoding and decoding JSON data. It supports
+ UTF-8.
+
+ JSON (JavaScript Object Notation) is a format for serializing data
+ based on the syntax for JavaScript data structures.
+
+ dkjson is written in Lua without any dependencies, but
+ when LPeg is available dkjson uses it to speed up decoding.
+ </longdescription>
+</pkgmetadata>