1 |
commit: 99f1aa3f68e3bb7ec54362eee510524299228aab |
2 |
Author: Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name> |
3 |
AuthorDate: Tue Jul 22 07:34:38 2014 +0000 |
4 |
Commit: Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name> |
5 |
CommitDate: Tue Jul 22 07:34:38 2014 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/lua.git;a=commit;h=99f1aa3f |
7 |
|
8 |
[dev-lua/resty-template] added |
9 |
|
10 |
Signed-off-by: Vadim A. Misbakh-Soloviov <mva <AT> mva.name> |
11 |
|
12 |
--- |
13 |
dev-lua/resty-template/Manifest | 1 + |
14 |
dev-lua/resty-template/metadata.xml | 14 ++++++++ |
15 |
dev-lua/resty-template/resty-template-9999.ebuild | 40 +++++++++++++++++++++++ |
16 |
3 files changed, 55 insertions(+) |
17 |
|
18 |
diff --git a/dev-lua/resty-template/Manifest b/dev-lua/resty-template/Manifest |
19 |
new file mode 100644 |
20 |
index 0000000..3369b09 |
21 |
--- /dev/null |
22 |
+++ b/dev-lua/resty-template/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST resty-upload-0.09.tar.gz 7080 SHA256 56ab35526b8f3e2d8f7872a8de332ea2fb8656c4bf3ca161fe964be1689d28ed SHA512 237deb87684bcd99ee9c94ede2795e7475a81f142d3451a8ac6df7b01ad91adfae68f91f059c135a536b0bb2dfcf4fe3aeee6099ec6ca51d58f064d1b375536b WHIRLPOOL cd2df65b02788402a823c41527fba95e63d66d59776a37d0b6296c8f2464c772f551512ed3de78de85f2af208f4bf6c98f8f8b017edce47efeb642e6b7cdbe8f |
25 |
|
26 |
diff --git a/dev-lua/resty-template/metadata.xml b/dev-lua/resty-template/metadata.xml |
27 |
new file mode 100644 |
28 |
index 0000000..23da526 |
29 |
--- /dev/null |
30 |
+++ b/dev-lua/resty-template/metadata.xml |
31 |
@@ -0,0 +1,14 @@ |
32 |
+<?xml version="1.0" encoding="UTF-8"?> |
33 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
34 |
+<pkgmetadata> |
35 |
+<maintainer> |
36 |
+ <email>mva@×××.name</email> |
37 |
+ <description> |
38 |
+ If you have any issues, please contact me, or try to find me in IRC on Freenode, OFTC or RusNet. |
39 |
+ </description> |
40 |
+ <name>Vadim A. Misbakh-Soloviov</name> |
41 |
+</maintainer> |
42 |
+<longdescription>FIXME</longdescription> |
43 |
+<use> |
44 |
+</use> |
45 |
+</pkgmetadata> |
46 |
|
47 |
diff --git a/dev-lua/resty-template/resty-template-9999.ebuild b/dev-lua/resty-template/resty-template-9999.ebuild |
48 |
new file mode 100644 |
49 |
index 0000000..088f954 |
50 |
--- /dev/null |
51 |
+++ b/dev-lua/resty-template/resty-template-9999.ebuild |
52 |
@@ -0,0 +1,40 @@ |
53 |
+# Copyright 1999-2013 Gentoo Foundation |
54 |
+# Distributed under the terms of the GNU General Public License v2 |
55 |
+# $Header: This ebuild is from Lua overlay; Bumped by mva; $ |
56 |
+ |
57 |
+EAPI="5" |
58 |
+ |
59 |
+inherit base eutils toolchain-funcs git-r3 |
60 |
+ |
61 |
+DESCRIPTION="Templating Engine (HTML) for Lua and OpenResty." |
62 |
+HOMEPAGE="https://github.com/bungle/lua-${PN}" |
63 |
+SRC_URI="" |
64 |
+ |
65 |
+EGIT_REPO_URI="https://github.com/bungle/lua-${PN}" |
66 |
+ |
67 |
+LICENSE="BSD" |
68 |
+SLOT="0" |
69 |
+KEYWORDS="" |
70 |
+IUSE="luajit" |
71 |
+ |
72 |
+RDEPEND=" |
73 |
+ !luajit? ( >=dev-lang/lua-5.1 ) |
74 |
+ luajit? ( dev-lang/luajit:2 ) |
75 |
+ www-servers/nginx[nginx_modules_http_lua] |
76 |
+" |
77 |
+DEPEND=" |
78 |
+ ${RDEPEND} |
79 |
+ dev-util/pkgconfig |
80 |
+" |
81 |
+ |
82 |
+DOCS=( "README.md" ) |
83 |
+ |
84 |
+src_install() { |
85 |
+ local lua=lua; |
86 |
+ use luajit && lua=luajit; |
87 |
+ |
88 |
+ insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD ${lua})" |
89 |
+ doins -r lib/resty |
90 |
+ |
91 |
+ base_src_install_docs |
92 |
+} |