summaryrefslogtreecommitdiff
blob: 0eef35a58638361714853a93f23e1b7f2b040343 (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
# Copyright 1999-2019 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

VCS="git"
LUA_COMPAT="lua51 luajit2"
IS_MULTILIB=true
GITHUB_A="openresty"
GITHUB_PN="lua-${PN}"

inherit lua

DESCRIPTION="Redis reply parser and request constructor library for Lua"
HOMEPAGE="https://github.com/openresty/lua-redis-parser"

LICENSE="BSD"
SLOT="0"
KEYWORDS=""
IUSE=""

each_lua_configure() {
	myeconfargs=(
		"PREFIX=/usr"
		"LUA_LIB_DIR=$(lua_get_pkgvar INSTALL_CMOD)"
		"LUA_INCLUDE_DIR=$(lua_get_pkgvar includedir)"
	)
	lua_default
}