diff options
author | Vadim A. Misbakh-Soloviov <git@mva.name> | 2015-07-25 20:14:30 +0600 |
---|---|---|
committer | Vadim A. Misbakh-Soloviov <git@mva.name> | 2015-07-25 20:14:30 +0600 |
commit | f9f8331a52bd995c328ae61935fe10d7c3b64fc9 (patch) | |
tree | 22d2083a1f668bbbaf50f5a3ec04f1438a329da2 /dev-lua/captcha | |
parent | dev-lang/lua: fixed pkgconfig (diff) | |
download | lua-f9f8331a52bd995c328ae61935fe10d7c3b64fc9.tar.gz lua-f9f8331a52bd995c328ae61935fe10d7c3b64fc9.tar.bz2 lua-f9f8331a52bd995c328ae61935fe10d7c3b64fc9.zip |
dev-lua/{captcha,lunit,raven}: Added
Signed-off-by: Vadim A. Misbakh-Soloviov <git@mva.name>
Diffstat (limited to 'dev-lua/captcha')
-rw-r--r-- | dev-lua/captcha/captcha-9999.ebuild | 46 | ||||
-rw-r--r-- | dev-lua/captcha/metadata.xml | 14 |
2 files changed, 60 insertions, 0 deletions
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>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> |