summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim A. Misbakh-Soloviov <git@mva.name>2018-02-17 19:52:09 +0700
committerVadim A. Misbakh-Soloviov <git@mva.name>2018-02-17 19:52:09 +0700
commit06dd40f643e0fca608d8e77bd4d19ad64d1431e9 (patch)
tree68fa8ace46b1c93f8bc8efc89b116ce37a73dc20 /dev-lua/lua-std-prototype
parentlyaml: fixed (thanks @gvvaughan for describing the buildsystem specialities, ... (diff)
downloadlua-06dd40f643e0fca608d8e77bd4d19ad64d1431e9.tar.gz
lua-06dd40f643e0fca608d8e77bd4d19ad64d1431e9.tar.bz2
lua-06dd40f643e0fca608d8e77bd4d19ad64d1431e9.zip
lua-std-*: added; specl: supposed to be a fix, but not yet (see gvvaughan/specl#28 )
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>