summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim A. Misbakh-Soloviov <mva@mva.name>2015-01-25 08:02:38 +0600
committerVadim A. Misbakh-Soloviov <mva@mva.name>2015-01-25 08:03:17 +0600
commit572e358332a5fda368609895714d01e35b98b41b (patch)
tree22ee9bf125429d7c3a552a5aaeae483dd1e4b326 /dev-lua/resty-cookie
parent[app-editors/neovim] deps improvement (diff)
downloadlua-572e358332a5fda368609895714d01e35b98b41b.tar.gz
lua-572e358332a5fda368609895714d01e35b98b41b.tar.bz2
lua-572e358332a5fda368609895714d01e35b98b41b.zip
[dev-lua/resty-cookie] Added
Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>
Diffstat (limited to 'dev-lua/resty-cookie')
-rw-r--r--dev-lua/resty-cookie/metadata.xml14
-rw-r--r--dev-lua/resty-cookie/resty-cookie-9999.ebuild42
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-lua/resty-cookie/metadata.xml b/dev-lua/resty-cookie/metadata.xml
new file mode 100644
index 0000000..23da526
--- /dev/null
+++ b/dev-lua/resty-cookie/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>
diff --git a/dev-lua/resty-cookie/resty-cookie-9999.ebuild b/dev-lua/resty-cookie/resty-cookie-9999.ebuild
new file mode 100644
index 0000000..e664cf0
--- /dev/null
+++ b/dev-lua/resty-cookie/resty-cookie-9999.ebuild
@@ -0,0 +1,42 @@
+# 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 base eutils toolchain-funcs git-r3
+
+DESCRIPTION="Library for parsing HTTP Cookie header for Nginx"
+HOMEPAGE="https://github.com/cloudflare/lua-${PN}"
+SRC_URI=""
+
+EGIT_REPO_URI="https://github.com/cloudflare/lua-${PN}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS=""
+IUSE="luajit"
+
+RDEPEND="
+ !luajit? ( dev-lang/lua )
+ luajit? ( dev-lang/luajit:2 )
+ www-servers/nginx[nginx_modules_http_lua]
+"
+DEPEND="
+ ${RDEPEND}
+ dev-util/pkgconfig
+"
+
+
+DOCS=( "README.md" )
+
+src_install() {
+ local lua=lua;
+ use luajit && lua=luajit;
+
+ insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD ${lua})"
+ doins -r lib/resty
+
+ base_src_install_docs
+}
+