summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lua/lua-fann/lua-fann-9999.ebuild')
-rw-r--r--dev-lua/lua-fann/lua-fann-9999.ebuild15
1 files changed, 10 insertions, 5 deletions
diff --git a/dev-lua/lua-fann/lua-fann-9999.ebuild b/dev-lua/lua-fann/lua-fann-9999.ebuild
index d0f8b1a..b9b7401 100644
--- a/dev-lua/lua-fann/lua-fann-9999.ebuild
+++ b/dev-lua/lua-fann/lua-fann-9999.ebuild
@@ -4,22 +4,27 @@
EAPI="5"
-inherit eutils git-r3
+inherit eutils git-r3 toolchain-funcs
DESCRIPTION="A set of Lua bindings for the Fast Artificial Neural Network (FANN) library."
HOMEPAGE="https://github.com/msva/lua-fann"
SRC_URI=""
-EGIT_REPO_URI="https://github.com/msva/lua-fann git://github.com/msva/lua-fann"
+EGIT_REPO_URI="https://github.com/msva/lua-fann"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS=""
IUSE="doc luajit"
-RDEPEND="|| ( >=dev-lang/lua-5.1 dev-lang/luajit:2 )
- sci-mathematics/fann"
-DEPEND="${RDEPEND}"
+RDEPEND="
+ virtual/lua[luajit=]
+ sci-mathematics/fann
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+"
src_prepare() {
local lua=lua;