diff options
Diffstat (limited to 'dev-lua/luajson')
-rw-r--r-- | dev-lua/luajson/Manifest | 5 | ||||
-rw-r--r-- | dev-lua/luajson/luajson-1.3.2.ebuild | 28 | ||||
-rw-r--r-- | dev-lua/luajson/luajson-1.3.3.ebuild | 28 | ||||
-rw-r--r-- | dev-lua/luajson/metadata.xml | 8 |
4 files changed, 69 insertions, 0 deletions
diff --git a/dev-lua/luajson/Manifest b/dev-lua/luajson/Manifest new file mode 100644 index 000000000000..5beb30c0a918 --- /dev/null +++ b/dev-lua/luajson/Manifest @@ -0,0 +1,5 @@ +DIST luajson-1.3.2.tar.gz 42139 BLAKE2B 6c8557d0a01c7c4fa3fab325f2efaeb1a7199d193be8cea255881028102dbcae78c6e7ac50ba4d6a5cd9560767e3e4997b7acf348321336eca81140b64564cf0 SHA512 502fc5b221128b1af291619ffaebdfc8bb4ee6bbfd041b6e18974aee09c3e73fe0aaaf650bbded818f690c332cb1f74de3e28f11ac2b5f18b751bc6259a07633 +DIST luajson-1.3.3.tar.gz 42653 BLAKE2B 2bc7310317a1279906681c2de284dc7b9d50766c0c21c606da746d0e709168e5364c3a821798f3ce423dfdd246162212525c1fee7c13cb5f0999db56d1e5e3c3 SHA512 9b507148afaf59871f97e7cf78ad35dc01497d553699d1d1a928543fad6a375aebc3852da86d51d744f10ab2ec24c7b1d7c380852da8134ae05f2f22f6f200c2 +EBUILD luajson-1.3.2.ebuild 682 BLAKE2B 2157f0615bb0055660dc883178fea7c3d9e6729c7d08d98b352134c435067b3a770767f0b794b395ea3ec0202f04626a682d070e6706c480f2d9706c3b037ee7 SHA512 86cb9beab05981538a8298ce4e5c8b97442ae495209fcc7defe806bdd535471f0ab3f97b10abfc89870ce3dc767a88827809130847af5ab0a924b5e61aa945d1 +EBUILD luajson-1.3.3.ebuild 708 BLAKE2B 7ccacb9ef4a878d6e04fff805a7a55aae67fe2e9c69c1db9e43df6ce952940befb5dd01f4a85eecda65042a20b67b6c7baa71123ef83bdd9202fb108540ae2a6 SHA512 1dc490b724fd26cd4c1d1536716aa01915a5324afeb231a3c2ed653317b7d9c3a4c4a8ed1a141690313013f4a572cf4779d57dce5fb7b16075677c445a520e70 +MISC metadata.xml 253 BLAKE2B 9a21f2ec285f683bc6766396dc836716c6cb52b0b6829a18144d50010d199b93bd0e47216e958f08e23e7c047b11446f4aa127a8b8ca425ce61b247b0593b6d9 SHA512 0ffb4892273cb493c3afaa3adebb9757669fce7e4135ebbefe066511f4319f1e1b60f306e9a9a2a7ea64bcab53515cd342f8e677c232c1966e02c04599bfb75c diff --git a/dev-lua/luajson/luajson-1.3.2.ebuild b/dev-lua/luajson/luajson-1.3.2.ebuild new file mode 100644 index 000000000000..cee2aa1cf414 --- /dev/null +++ b/dev-lua/luajson/luajson-1.3.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="JSON Parser/Constructor for Lua" +HOMEPAGE="https://www.eharning.us/wiki/luajson/" +SRC_URI="https://github.com/harningt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm hppa ~mips x86" +IUSE="test" + +RDEPEND="|| ( >=dev-lang/lua-5.1 dev-lang/luajit:2 ) + dev-lua/lpeg" +DEPEND="test? ( dev-lua/luafilesystem )" + +# lunit not in the tree yet +RESTRICT="test" + +# nothing to compile +src_compile() { :; } + +src_install() { + emake PREFIX=/usr DESTDIR="${D}" install + dodoc README docs/ReleaseNotes-${PV}.txt docs/LuaJSON.txt +} diff --git a/dev-lua/luajson/luajson-1.3.3.ebuild b/dev-lua/luajson/luajson-1.3.3.ebuild new file mode 100644 index 000000000000..f38c914fbd8a --- /dev/null +++ b/dev-lua/luajson/luajson-1.3.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="JSON Parser/Constructor for Lua" +HOMEPAGE="https://www.eharning.us/wiki/luajson/" +SRC_URI="https://github.com/harningt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 sparc ~x86" +IUSE="test" + +RDEPEND="|| ( >=dev-lang/lua-5.1 dev-lang/luajit:2 ) + dev-lua/lpeg" +DEPEND="test? ( dev-lua/luafilesystem )" + +# lunit not in the tree yet +RESTRICT="test" + +# nothing to compile +src_compile() { :; } + +src_install() { + emake PREFIX=/usr DESTDIR="${D}" install + dodoc README docs/ReleaseNotes-${PV}.txt docs/LuaJSON.txt +} diff --git a/dev-lua/luajson/metadata.xml b/dev-lua/luajson/metadata.xml new file mode 100644 index 000000000000..1bb1a0290ad3 --- /dev/null +++ b/dev-lua/luajson/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="github">harningt/luajson</remote-id> + </upstream> +</pkgmetadata> |