summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lua/lua-std-prototype')
-rw-r--r--dev-lua/lua-std-prototype/lua-std-prototype-9999.ebuild35
-rw-r--r--dev-lua/lua-std-prototype/metadata.xml14
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-lua/lua-std-prototype/lua-std-prototype-9999.ebuild b/dev-lua/lua-std-prototype/lua-std-prototype-9999.ebuild
new file mode 100644
index 0000000..4b9ab04
--- /dev/null
+++ b/dev-lua/lua-std-prototype/lua-std-prototype-9999.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VCS="git"
+GITHUB_A="lua-stdlib"
+GITHUB_PN="${PN#lua-std-}"
+
+inherit lua
+
+DESCRIPTION="Prototype Oriented Programming with Lua"
+HOMEPAGE="https://github.com/lua-stdlib/prototype"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE="doc"
+
+HTML_DOCS=(doc/.)
+DOCS=(README.md NEWS.md)
+
+lua_add_bdepend "doc? ( dev-lua/ldoc )"
+lua_add_rdepend "dev-lua/lua-std-normalize"
+
+each_lua_compile() {
+ if [[ "${PV}" == "9999" ]]; then
+ ver="git:$(git rev-parse --short @):${LUA_IMPL}"
+ fi
+ lua_default
+}
+
+each_lua_install() {
+ dolua lib/std
+}
diff --git a/dev-lua/lua-std-prototype/metadata.xml b/dev-lua/lua-std-prototype/metadata.xml
new file mode 100644
index 0000000..23da526
--- /dev/null
+++ b/dev-lua/lua-std-prototype/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>mva@mva.name</email>
+ <description>
+ If you have any issues, please contact me, or try to find me in IRC on Freenode, OFTC or RusNet.
+ </description>
+ <name>Vadim A. Misbakh-Soloviov</name>
+</maintainer>
+<longdescription>FIXME</longdescription>
+<use>
+</use>
+</pkgmetadata>