summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim A. Misbakh-Soloviov <mva@mva.name>2012-04-23 12:16:18 +0700
committerVadim A. Misbakh-Soloviov <mva@mva.name>2012-04-23 12:16:18 +0700
commit46ab7862e6db414458e3670277b0aa79316a509e (patch)
tree00d4f7a8795f65049cf9926e02132c72d0b7c023 /dev-lua/wsapi
parentfixed manifest, again :( (diff)
downloadlua-46ab7862e6db414458e3670277b0aa79316a509e.tar.gz
lua-46ab7862e6db414458e3670277b0aa79316a509e.tar.bz2
lua-46ab7862e6db414458e3670277b0aa79316a509e.zip
bump!
(Portage version: 2.2.0_alpha100_p12/git/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-lua/wsapi')
-rw-r--r--dev-lua/wsapi/ChangeLog10
-rw-r--r--dev-lua/wsapi/metadata.xml15
-rw-r--r--dev-lua/wsapi/wsapi-9999.ebuild44
3 files changed, 69 insertions, 0 deletions
diff --git a/dev-lua/wsapi/ChangeLog b/dev-lua/wsapi/ChangeLog
new file mode 100644
index 0000000..151fc89
--- /dev/null
+++ b/dev-lua/wsapi/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-lua/luancurses
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*luancurses-9999 (16 Oct 2011)
+
+ 16 Oct 2011; Vadim A. Misbakh-Soloviev <mva@mva.name>
+ +luancurses-9999.ebuild, +metadata.xml:
+ Some lua libs
+
diff --git a/dev-lua/wsapi/metadata.xml b/dev-lua/wsapi/metadata.xml
new file mode 100644
index 0000000..fabce0c
--- /dev/null
+++ b/dev-lua/wsapi/metadata.xml
@@ -0,0 +1,15 @@
+<?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>
+ <flag name='luajit'>Enable linking with LuaJIT library instead of Lua.</flag>
+</use>
+</pkgmetadata>
diff --git a/dev-lua/wsapi/wsapi-9999.ebuild b/dev-lua/wsapi/wsapi-9999.ebuild
new file mode 100644
index 0000000..6e841cf
--- /dev/null
+++ b/dev-lua/wsapi/wsapi-9999.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: This ebuild is from Lua overlay; Bumped by mva; $
+
+EAPI="4"
+
+inherit multilib eutils git-2
+
+DESCRIPTION="Lua WSAPI Library"
+HOMEPAGE="https://github.com/keplerproject/wsapi"
+SRC_URI=""
+
+EGIT_REPO_URI="git://github.com/msva/wsapi.git"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE="luajit"
+# xavante"
+
+RDEPEND=">=dev-lang/lua-5.1
+ luajit? ( dev-lang/luajit:2 )
+ dev-libs/fcgi
+ virtual/httpd-fastcgi"
+# xavante? ( dev-lua/xavante )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_configure() {
+ LUA="lua";
+ use luajit && LUA="luajit"
+ cd "${S}"
+ ./configure "${LUA}"
+}
+
+src_compile() {
+ use luajit && INC="-I/usr/include/luajit-2.0/"
+ emake DESTDIR="${D}" CC="$(tc-getCC) -fPIC -DPIC" LDFLAGS="${LDFLAGS}" INC="${INC}" CFLAGS="${CFLAGS}" || die "Can't copmile Lua-FCGI library"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ emake DESTDIR="${D}" install-fcgi
+} \ No newline at end of file