summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim A. Misbakh-Soloviov <mva@mva.name>2012-08-16 04:01:17 +0700
committerVadim A. Misbakh-Soloviov <mva@mva.name>2012-08-16 04:01:17 +0700
commitaf2574c6a676ee0df611374017570fa957340f61 (patch)
treea82c631cad46f00483c24390a9b0bf98a9955052 /dev-lua/luazip
parentAdded prosody logrotate script (diff)
downloadlua-af2574c6a676ee0df611374017570fa957340f61.tar.gz
lua-af2574c6a676ee0df611374017570fa957340f61.tar.bz2
lua-af2574c6a676ee0df611374017570fa957340f61.zip
luaZips and luaxml
Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>
Diffstat (limited to 'dev-lua/luazip')
-rw-r--r--dev-lua/luazip/ChangeLog10
-rw-r--r--dev-lua/luazip/luazip-9999.ebuild32
-rw-r--r--dev-lua/luazip/metadata.xml14
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-lua/luazip/ChangeLog b/dev-lua/luazip/ChangeLog
new file mode 100644
index 0000000..fa25985
--- /dev/null
+++ b/dev-lua/luazip/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-lua/lua-zlib
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*lua-zlib-9999 (23 Apr 2012)
+
+ 23 Apr 2012; Vadim A. Misbakh-Soloviov <mva@mva.name> +lua-zlib-9999.ebuild,
+ +metadata.xml:
+ bump!
+
diff --git a/dev-lua/luazip/luazip-9999.ebuild b/dev-lua/luazip/luazip-9999.ebuild
new file mode 100644
index 0000000..82c982b
--- /dev/null
+++ b/dev-lua/luazip/luazip-9999.ebuild
@@ -0,0 +1,32 @@
+# 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 git-2
+
+DESCRIPTION="Lua bindings to zziplib"
+HOMEPAGE="http://github.com/luaforge/luazip"
+EGIT_REPO_URI="git://github.com/luaforge/luazip.git"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE="luajit"
+
+RDEPEND="|| ( >=dev-lang/lua-5.1 dev-lang/luajit:2 )
+ dev-libs/zziplib"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_configure() {
+ local LUA_INC="/usr/include"
+ use luajit && LUA_INC="/usr/include/luajit-2.0"
+ sed -r \
+ -e "s#(LUA_INC)=.*#\1=${LUA_INC}#" \
+ -e 's#(PREFIX) =.*#\1=$(DESTDIR)/usr#' \
+ -e "s#(ZZLIB_INC)=.*#\1=/usr/include#" \
+ -e "s#(LUA_VERSION_NUM)=.*#\1=510#" \
+ -i config
+}
diff --git a/dev-lua/luazip/metadata.xml b/dev-lua/luazip/metadata.xml
new file mode 100644
index 0000000..23da526
--- /dev/null
+++ b/dev-lua/luazip/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>