From a83f3e7a1ef69e1393bed1c109269542db9e5401 Mon Sep 17 00:00:00 2001 From: "Vadim A. Misbakh-Soloviov" Date: Thu, 20 Sep 2018 12:38:06 +0700 Subject: tdlua: added --- dev-lua/tdlua/metadata.xml | 14 ++++++++++++++ dev-lua/tdlua/tdlua-9999.ebuild | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 dev-lua/tdlua/metadata.xml create mode 100644 dev-lua/tdlua/tdlua-9999.ebuild diff --git a/dev-lua/tdlua/metadata.xml b/dev-lua/tdlua/metadata.xml new file mode 100644 index 0000000..c1baef2 --- /dev/null +++ b/dev-lua/tdlua/metadata.xml @@ -0,0 +1,14 @@ + + + + + williamh@gentoo.org + William Hubbs + + + lightweight, native, lazy evaluating multithreading library for Lua-5.1 or 5.2. + + + LuaLanes/lanes + + diff --git a/dev-lua/tdlua/tdlua-9999.ebuild b/dev-lua/tdlua/tdlua-9999.ebuild new file mode 100644 index 0000000..0e2765e --- /dev/null +++ b/dev-lua/tdlua/tdlua-9999.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +LUA_COMPAT="lua52 lua53 luajit2" + +VCS="git" +GITHUB_A="giuseppeM99" + +inherit cmake-utils lua + +DESCRIPTION="A basic interface between tdlib and lua" +HOMEPAGE="https://github.com/giuseppeM99/tdlua" + +LICENSE="GPL-3.0" +SLOT="0" +KEYWORDS="" +IUSE="doc examples" + +DOCS=(README.md) +EXAMPLES=(examples/.) + +RDEPEND=" + dev-libs/openssl:0 + media-libs/opus:0 + net-libs/tdlib:0 +" + +each_lua_configure() { + mycmakeargs=( + -DLUA_INCLUDE_DIR=$(lua_get_incdir) + ) + cmake-utils_src_configure +} + +each_lua_install() { + dolua "${PN}".so +} -- cgit v1.2.3-65-gdbad