forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |