summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2013-09-11 15:09:53 +0000
committerManuel Rüger <mrueg@gentoo.org>2013-09-11 15:09:53 +0000
commit13b0e4847c6bf3208c149aff3aca7b68a4510c0a (patch)
tree5e48902a38bba0cb06ec587ee1f8a85f3dbaae24 /dev-lua
parentRekeyword as bug #478076 is solved for ppc (diff)
downloadgentoo-2-13b0e4847c6bf3208c149aff3aca7b68a4510c0a.tar.gz
gentoo-2-13b0e4847c6bf3208c149aff3aca7b68a4510c0a.tar.bz2
gentoo-2-13b0e4847c6bf3208c149aff3aca7b68a4510c0a.zip
Version bump. Fixes bug #477344. Thanks to Emery Hemingway for inital ebuild patch.
(Portage version: 2.2.2/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/luasocket/ChangeLog9
-rw-r--r--dev-lua/luasocket/luasocket-3.0_rc1.ebuild39
2 files changed, 47 insertions, 1 deletions
diff --git a/dev-lua/luasocket/ChangeLog b/dev-lua/luasocket/ChangeLog
index 04deee1538c2..4b90f65c5dfa 100644
--- a/dev-lua/luasocket/ChangeLog
+++ b/dev-lua/luasocket/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-lua/luasocket
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lua/luasocket/ChangeLog,v 1.7 2013/08/08 19:24:27 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lua/luasocket/ChangeLog,v 1.8 2013/09/11 15:09:53 mrueg Exp $
+
+*luasocket-3.0_rc1 (11 Sep 2013)
+
+ 11 Sep 2013; Manuel Rüger <mrueg@gentoo.org> +luasocket-3.0_rc1.ebuild,
+ luasocket-2.0.2.ebuild:
+ Version bump. Fixes bug #477344. Thanks to Emery Hemingway for inital ebuild
+ patch.
08 Aug 2013; Markus Meier <maekke@gentoo.org> luasocket-2.0.2.ebuild:
add ~arm, bug #476264
diff --git a/dev-lua/luasocket/luasocket-3.0_rc1.ebuild b/dev-lua/luasocket/luasocket-3.0_rc1.ebuild
new file mode 100644
index 000000000000..4b5b5efd38af
--- /dev/null
+++ b/dev-lua/luasocket/luasocket-3.0_rc1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lua/luasocket/luasocket-3.0_rc1.ebuild,v 1.1 2013/09/11 15:09:53 mrueg Exp $
+
+EAPI=5
+
+inherit multilib flag-o-matic
+
+DESCRIPTION="Networking support library for the Lua language."
+HOMEPAGE="http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/"
+SRC_URI="https://github.com/diegonehab/${PN}/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="debug"
+
+RDEPEND=">=dev-lang/lua-5.1[deprecated]"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${PN}-${PV/_/-}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC) ${CFLAGS}" \
+ LD="$(tc-getCC) ${LDFLAGS}"\
+ $(usex debug DEBUG="DEBUG")
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ LUAPREFIX_linux=/usr \
+ LUAV=5.1 \
+ CDIR_linux=$(get_libdir)/lua/${LUAV} \
+ install
+ dodoc NEW README
+ dohtml doc/*
+}