summaryrefslogtreecommitdiff
blob: 95bab382d6a0221c7f2179aeef0bc9134c4cff9d (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
# 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"

inherit lua

DESCRIPTION="Resty-DBD-Stream (RDS) parser for Lua written in C"
HOMEPAGE="https://github.com/openresty/lua-rds-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
}