Files
gentoo/dev-lua/luajson/luajson-1.3.3.ebuild
Mikle Kolyada a2379a7f8d dev-lua/luajson: amd64 stable wrt bug #676486
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"
2019-02-15 21:05:03 +03:00

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
}