Skip to content

Commit

Permalink
dev-lua/dkjson: initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
williamh committed Nov 11, 2015
1 parent 02a4eb4 commit fcca8f4
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-lua/dkjson/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST dkjson-2.5.tar.gz 15799 SHA256 552bde07d6eb95dc32423cc4c6f6fa40699611ef6ba96ba990fcd0e055b38a93 SHA512 ec9a226c3a94d7561f8f51bb0e6c92a64385b0d8baf83de862cce7e1c302d900bff723be23e4b5b4c3c2accafaf8d75d4b0842e14b2e41390a3f9761d46a38af WHIRLPOOL 91a6be85a277caa8e00ccfc0121384e4ed6db23cd82b00a55d1c8b8c8f89b3c1efe321f6d17f3849eed20ba1f3681052ca94d347dfc17d79a404f98cf64e7f11
28 changes: 28 additions & 0 deletions dev-lua/dkjson/dkjson-2.5.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

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"
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
}
18 changes: 18 additions & 0 deletions dev-lua/dkjson/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>[email protected]</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>

0 comments on commit fcca8f4

Please sign in to comment.