summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2011-05-02 16:42:39 +0000
committerDirkjan Ochtman <djc@gentoo.org>2011-05-02 16:42:39 +0000
commit212022e334850670e1294a196403f730c6f11b87 (patch)
tree8a0c8acf1f06f35285b7ee8e7092719c7b5f162e /dev-lua/lua-zlib
parentinsinto already has EPREFIX prepended (diff)
downloadgentoo-2-212022e334850670e1294a196403f730c6f11b87.tar.gz
gentoo-2-212022e334850670e1294a196403f730c6f11b87.tar.bz2
gentoo-2-212022e334850670e1294a196403f730c6f11b87.zip
Initial version of lua-zlib: 0.2 (bug 360679).
(Portage version: 2.1.9.46/cvs/Linux x86_64)
Diffstat (limited to 'dev-lua/lua-zlib')
-rw-r--r--dev-lua/lua-zlib/ChangeLog10
-rw-r--r--dev-lua/lua-zlib/lua-zlib-0.2.ebuild31
-rw-r--r--dev-lua/lua-zlib/metadata.xml8
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-lua/lua-zlib/ChangeLog b/dev-lua/lua-zlib/ChangeLog
new file mode 100644
index 000000000000..2d9cdad92107
--- /dev/null
+++ b/dev-lua/lua-zlib/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-lua/lua-zlib
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lua/lua-zlib/ChangeLog,v 1.1 2011/05/02 16:42:39 djc Exp $
+
+*lua-zlib-0.2 (02 May 2011)
+
+ 02 May 2011; Dirkjan Ochtman <djc@gentoo.org> +lua-zlib-0.2.ebuild,
+ +metadata.xml:
+ Initial version of lua-zlib: 0.2 (bug 360679).
+
diff --git a/dev-lua/lua-zlib/lua-zlib-0.2.ebuild b/dev-lua/lua-zlib/lua-zlib-0.2.ebuild
new file mode 100644
index 000000000000..4b3d030978db
--- /dev/null
+++ b/dev-lua/lua-zlib/lua-zlib-0.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lua/lua-zlib/lua-zlib-0.2.ebuild,v 1.1 2011/05/02 16:42:39 djc Exp $
+
+EAPI=3
+
+inherit cmake-utils
+
+DESCRIPTION="Lua bindings to zlib"
+HOMEPAGE="http://github.com/brimworks/lua-zlib"
+SRC_URI="https://github.com/brimworks/${PN}/tarball/v${PV} -> ${P}.tgz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-lang/lua
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ mv *-${PN}-* "${S}"
+}
+
+src_configure() {
+ MYCMAKEARGS="-DINSTALL_CMOD='$(pkg-config --variable INSTALL_CMOD lua)'"
+ cmake-utils_src_configure
+}
diff --git a/dev-lua/lua-zlib/metadata.xml b/dev-lua/lua-zlib/metadata.xml
new file mode 100644
index 000000000000..1ea32aebdfe2
--- /dev/null
+++ b/dev-lua/lua-zlib/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>djc@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>