blob: 69de699275fb336dd7378f9ab95fcc6dfb86a8d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
VCS="git-r3"
IS_MULTILIB=true
#LUA_COMPAT="lua51 luajit2"
#inherit cmake-utils lua
inherit lua
DESCRIPTION="Lua JSON Library, written in C"
HOMEPAGE="http://www.kyne.com.au/~mark/software/lua-cjson.php"
SRC_URI=""
EGIT_REPO_URI="https://github.com/msva/lua-cjson"
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
IUSE="+examples"
EXAMPLES=( tests/ lua/{json2lua,lua2json}.lua )
#each_lua_configure() {
# mycmakeargs=(
# -DUSE_INTERNAL_FPCONV=ON
# )
# cmake-utils_src_configure
#}
#each_lua_configure() {
# mycmakeargs=(
# -DUSE_INTERNAL_FPCONV=ON
# )
# cmake-utils_src_configure
#}
each_lua_install() {
dolua lua/cjson cjson.so
# cmake-utils_src_install
}
|