commit: f9f8331a52bd995c328ae61935fe10d7c3b64fc9
Author: Vadim A. Misbakh-Soloviov <git <AT> mva <DOT> name>
AuthorDate: Sat Jul 25 14:14:30 2015 +0000
Commit: Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
CommitDate: Sat Jul 25 14:14:30 2015 +0000
URL: https://gitweb.gentoo.org/proj/lua.git/commit/?id=f9f8331a
dev-lua/{captcha,lunit,raven}: Added
Signed-off-by: Vadim A. Misbakh-Soloviov <git <AT> mva.name>
dev-lua/captcha/captcha-9999.ebuild | 46 +++++++++++++++++++++++++++++++
dev-lua/captcha/metadata.xml | 14 ++++++++++
dev-lua/lunit/lunit-9999.ebuild | 55 +++++++++++++++++++++++++++++++++++++
dev-lua/lunit/metadata.xml | 14 ++++++++++
dev-lua/raven/metadata.xml | 14 ++++++++++
dev-lua/raven/raven-9999.ebuild | 41 +++++++++++++++++++++++++++
6 files changed, 184 insertions(+)
diff --git a/dev-lua/captcha/captcha-9999.ebuild
b/dev-lua/captcha/captcha-9999.ebuild
new file mode 100644
index 0000000..2e93aa4
--- /dev/null
+++ b/dev-lua/captcha/captcha-9999.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: This ebuild is from Lua overlay; Bumped by mva; $
+
+EAPI="5"
+
+inherit eutils toolchain-funcs git-r3
+
+DESCRIPTION="A small lua module to generate CAPTCHA images using lua-gd"
+HOMEPAGE="https://github.com/mrDoctorWho/lua-${PN}"
+SRC_URI=""
+
+EGIT_REPO_URI="https://github.com/mrDoctorWho/lua-${PN}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE="jpeg luajit png +samples"
+
+RDEPEND="
+ virtual/lua[luajit=]
+ dev-lua/lua-gd[luajit=]
+ media-libs/gd[jpeg=,truetype,png=]
+"
+
+REQUIRED_USE="|| ( jpeg png )"
+
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+"
+
+src_compile() { :; }
+
+src_install() {
+ local lua=lua;
+ use luajit && lua=luajit;
+
+ insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD ${lua})"
+ doins -r src/*
+
+ if use samples; then
+ docompress -x /usr/share/doc/${PF}/examples
+ dodoc -r examples
+ fi
+}
diff --git a/dev-lua/captcha/metadata.xml b/dev-lua/captcha/metadata.xml
new file mode 100644
index 0000000..23da526
--- /dev/null
+++ b/dev-lua/captcha/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>[email protected]</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>
diff --git a/dev-lua/lunit/lunit-9999.ebuild b/dev-lua/lunit/lunit-9999.ebuild
new file mode 100644
index 0000000..9a7f2fe
--- /dev/null
+++ b/dev-lua/lunit/lunit-9999.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: This ebuild is from Lua overlay; Bumped by mva; $
+
+EAPI="5"
+
+inherit eutils toolchain-funcs git-r3
+
+DESCRIPTION="A unit testing framework for Lua"
+HOMEPAGE="https://github.com/dcurrie/${PN}"
+SRC_URI=""
+
+EGIT_REPO_URI="https://github.com/dcurrie/${PN}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE="luajit +samples"
+
+RDEPEND="
+ virtual/lua[luajit=]
+"
+
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ local lua=lua;
+ use luajit && lua=luajit;
+
+ sed -r \
+ -e "s/^(interpreter)=.*/\1=${lua}/" \
+ -i extra/lunit.sh
+}
+
+src_compile() { :; }
+
+src_install() {
+ local lua=lua;
+ use luajit && lua=luajit;
+
+ insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD ${lua})"
+ doins -r lua/*
+
+ newbin "extra/${PN}.sh" "${PN}"
+
+ if use samples; then
+ docompress -x "/usr/share/doc/${PF}/examples"
+ dodoc -r examples
+ fi
+
+ dodoc DOCUMENTATION
+}
diff --git a/dev-lua/lunit/metadata.xml b/dev-lua/lunit/metadata.xml
new file mode 100644
index 0000000..23da526
--- /dev/null
+++ b/dev-lua/lunit/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>[email protected]</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>
diff --git a/dev-lua/raven/metadata.xml b/dev-lua/raven/metadata.xml
new file mode 100644
index 0000000..23da526
--- /dev/null
+++ b/dev-lua/raven/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>[email protected]</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>
diff --git a/dev-lua/raven/raven-9999.ebuild b/dev-lua/raven/raven-9999.ebuild
new file mode 100644
index 0000000..80c462a
--- /dev/null
+++ b/dev-lua/raven/raven-9999.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: This ebuild is from Lua overlay; Bumped by mva; $
+
+EAPI="5"
+
+inherit eutils toolchain-funcs git-r3
+
+DESCRIPTION="A small Lua interface to Sentry"
+HOMEPAGE="https://github.com/cloudflare/${PN}-lua"
+SRC_URI=""
+
+EGIT_REPO_URI="https://github.com/cloudflare/${PN}-lua"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE="luajit"
+
+RDEPEND="
+ virtual/lua[luajit=]
+ dev-lua/lunit
+ dev-lua/luaposix
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+"
+
+src_compile() { :; }
+
+src_install() {
+ local lua=lua;
+ use luajit && lua=luajit;
+
+ insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD ${lua})"
+ doins -r raven.lua
+
+ dodoc -r README.md
+ dohtml docs/*
+}