mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 RepoMan-Options: --include-arches="amd64"
29 lines
703 B
Bash
29 lines
703 B
Bash
# Copyright 1999-2019 Gentoo Authors
|
|
# 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
|
|
}
|