commit: 3ff7671cfa9bd400f9c1185af226df99f82a13b7 Author: Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name> AuthorDate: Fri May 2 05:49:39 2014 +0000 Commit: Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name> CommitDate: Fri May 2 05:49:39 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/lua.git;a=commit;h=3ff7671c
[dev-lua/resty-lrucache] Added Signed-off-by: Vadim A. Misbakh-Soloviov <mva <AT> mva.name> --- dev-lua/resty-lrucache/metadata.xml | 14 +++++++++ dev-lua/resty-lrucache/resty-lrucache-9999.ebuild | 36 +++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-lua/resty-lrucache/metadata.xml b/dev-lua/resty-lrucache/metadata.xml new file mode 100644 index 0000000..23da526 --- /dev/null +++ b/dev-lua/resty-lrucache/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/resty-lrucache/resty-lrucache-9999.ebuild b/dev-lua/resty-lrucache/resty-lrucache-9999.ebuild new file mode 100644 index 0000000..b2c112f --- /dev/null +++ b/dev-lua/resty-lrucache/resty-lrucache-9999.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2013 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 simple LRU cache for OpenResty and the ngx_lua module (based on LuaJIT FFI)" +HOMEPAGE="https://github.com/agentzh/lua-${PN}" +SRC_URI="" + +EGIT_REPO_URI="https://github.com/agentzh/lua-${PN}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="" +IUSE="luajit" + +RDEPEND=" + !luajit? ( >=dev-lang/lua-5.1 ) + luajit? ( dev-lang/luajit:2 ) + www-servers/nginx[nginx_modules_http_lua] +" +DEPEND=" + ${RDEPEND} + dev-util/pkgconfig +" + +src_install() { + local lua=lua; + use luajit && lua=luajit; + + insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD ${lua})" + doins -r lib/resty +}
