1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="JSON Parser/Constructor for Lua"
7 HOMEPAGE="https://www.eharning.us/wiki/luajson/"
8 SRC_URI="https://github.com/harningt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
12 KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 sparc x86"
15 RDEPEND="|| ( >=dev-lang/lua-5.1 dev-lang/luajit:2 )
17 DEPEND="test? ( dev-lua/luafilesystem )"
19 # lunit not in the tree yet
26 emake PREFIX=/usr DESTDIR="${D}" install
27 dodoc README docs/ReleaseNotes-${PV}.txt docs/LuaJSON.txt