summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim A. Misbakh-Soloviov <mva@mva.name>2013-12-17 14:00:42 +0700
committerVadim A. Misbakh-Soloviov <mva@mva.name>2013-12-17 14:00:42 +0700
commit38c1125b284c8d3afbb2bb5e6207467dfd51e61d (patch)
tree454d4abd1a2a530a0c1270e098d59290229a063e /dev-lua/resty-dns
parent[net-im/prosody-modules] bump modules (diff)
downloadlua-38c1125b284c8d3afbb2bb5e6207467dfd51e61d.tar.gz
lua-38c1125b284c8d3afbb2bb5e6207467dfd51e61d.tar.bz2
lua-38c1125b284c8d3afbb2bb5e6207467dfd51e61d.zip
[dev-lua/resty-*] Added
Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>
Diffstat (limited to 'dev-lua/resty-dns')
-rw-r--r--dev-lua/resty-dns/Manifest1
-rw-r--r--dev-lua/resty-dns/metadata.xml14
-rw-r--r--dev-lua/resty-dns/resty-dns-0.10.ebuild39
-rw-r--r--dev-lua/resty-dns/resty-dns-9999.ebuild39
4 files changed, 93 insertions, 0 deletions
diff --git a/dev-lua/resty-dns/Manifest b/dev-lua/resty-dns/Manifest
new file mode 100644
index 0000000..34702b1
--- /dev/null
+++ b/dev-lua/resty-dns/Manifest
@@ -0,0 +1 @@
+DIST resty-dns-0.10.tar.gz 13617 SHA256 f7d9a30d41c9d195473cc88dbad1e3bace44c946ea5d00cba5634900531f4e60 SHA512 9b228e2e06e852c3c7ba2b14c173d8826b723d9bd0adfe6d5df5cae267687b95b9a1524cd1883ae71d05fb77de96e3571ad870ffe55163c4f5f06401fd9efe96 WHIRLPOOL a4702f925e7f94bdf64c1e1410f4cac28ec811a6b930121dc1f5cf3f58a22de43d55a8ffa9c0ff8d7fd122749df32e684e2358d427cbf3ce345c07e9f50e3b8d
diff --git a/dev-lua/resty-dns/metadata.xml b/dev-lua/resty-dns/metadata.xml
new file mode 100644
index 0000000..23da526
--- /dev/null
+++ b/dev-lua/resty-dns/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-dns/resty-dns-0.10.ebuild b/dev-lua/resty-dns/resty-dns-0.10.ebuild
new file mode 100644
index 0000000..1001da5
--- /dev/null
+++ b/dev-lua/resty-dns/resty-dns-0.10.ebuild
@@ -0,0 +1,39 @@
+# 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
+
+DESCRIPTION="Lua DNS resolver for the ngx_lua based on the cosocket API"
+HOMEPAGE="https://github.com/agentzh/lua-${PN}"
+SRC_URI="https://github.com/agentzh/lua-${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="x86 amd64"
+IUSE="luajit"
+
+RDEPEND="
+ !luajit? ( >=dev-lang/lua-5.1 dev-lua/LuaBitOp )
+ luajit? ( dev-lang/luajit:2 )
+ www-servers/nginx[nginx_modules_http_lua]
+"
+DEPEND="
+ ${RDEPEND}
+ dev-util/pkgconfig
+"
+
+S="${WORKDIR}/lua-${P}"
+
+src_prepare() {
+ local lua=lua;
+ use luajit && lua=luajit;
+
+ sed -r \
+ -e "1,6s#(PREFIX).*#\1=/usr#" \
+ -e "1,6s#(LUA_LIB_DIR).*#\1=$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD ${lua})#" \
+ -e "1,6s#(LUA_INCLUDE_DIR).*#\1=$($(tc-getPKG_CONFIG) --variable includedir ${lua})#" \
+ -i Makefile
+}
diff --git a/dev-lua/resty-dns/resty-dns-9999.ebuild b/dev-lua/resty-dns/resty-dns-9999.ebuild
new file mode 100644
index 0000000..d858225
--- /dev/null
+++ b/dev-lua/resty-dns/resty-dns-9999.ebuild
@@ -0,0 +1,39 @@
+# 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="Lua DNS resolver for the ngx_lua based on the cosocket API"
+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 dev-lua/LuaBitOp )
+ luajit? ( dev-lang/luajit:2 )
+ www-servers/nginx[nginx_modules_http_lua]
+"
+DEPEND="
+ ${RDEPEND}
+ dev-util/pkgconfig
+"
+
+src_prepare() {
+ local lua=lua;
+ use luajit && lua=luajit;
+
+ sed -r \
+ -e "1,6s#(PREFIX).*#\1=/usr#" \
+ -e "1,6s#(LUA_LIB_DIR).*#\1=$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD ${lua})#" \
+ -e "1,6s#(LUA_INCLUDE_DIR).*#\1=$($(tc-getPKG_CONFIG) --variable includedir ${lua})#" \
+ -i Makefile
+}