summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/luarocks/ChangeLog10
-rw-r--r--dev-lua/luarocks/Manifest18
-rw-r--r--dev-lua/luarocks/luarocks-2.0.7.1.ebuild (renamed from dev-lua/luarocks/luarocks-1.0.ebuild)20
3 files changed, 23 insertions, 25 deletions
diff --git a/dev-lua/luarocks/ChangeLog b/dev-lua/luarocks/ChangeLog
index 9c5e3b096052..feaedf7ff987 100644
--- a/dev-lua/luarocks/ChangeLog
+++ b/dev-lua/luarocks/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lua/luarocks
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lua/luarocks/ChangeLog,v 1.1 2010/11/05 22:13:24 rafaelmartins Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lua/luarocks/ChangeLog,v 1.2 2012/01/24 20:56:04 mabi Exp $
+
+*luarocks-2.0.7.1 (24 Jan 2012)
+
+ 24 Jan 2012; Matti Bickel <mabi@gentoo.org> +luarocks-2.0.7.1.ebuild,
+ -luarocks-1.0.ebuild:
+ bump and remove old/nonworking (bug #313677)
05 Nov 2010; Rafael G. Martins <rafaelmartins@gentoo.org>
+luarocks-1.0.ebuild, +metadata.xml:
diff --git a/dev-lua/luarocks/Manifest b/dev-lua/luarocks/Manifest
index 2eac312a0388..0e1528cb480d 100644
--- a/dev-lua/luarocks/Manifest
+++ b/dev-lua/luarocks/Manifest
@@ -1,16 +1,4 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
-DIST luarocks-1.0.tar.gz 50339 RMD160 b387194c589a9df4c4ffa40c880f6a7272985eed SHA1 96223c3da6257e5370d031221279b1c89731baef SHA256 7177cd32c55214ffd0c3543c1350b4e5f3908e81308f65c573fd5b03dc2d711d
-EBUILD luarocks-1.0.ebuild 1272 RMD160 1e4301906239c9f94383f35c07bb9445e60eeae7 SHA1 4d3361a8c767c4a9752273fa38a64daa4dde0d15 SHA256 28fd3acfd67ab862056c3efb22bf5494c6c20c916786d067bb1fb516676204d7
-MISC ChangeLog 581 RMD160 5f5201b268a7049a199747611432ba6419404d4e SHA1 1390069879f435c624da98c0bf54e092e81c8bcd SHA256 99454dc9f7d79f3627c2b9142add11d08bf4d520c4d827eda25beb43aa9b6736
+DIST luarocks-2.0.7.1.tar.gz 81757 RMD160 f1c5e707d75e490de0cc05f2f7b5fc5bf7d465fd SHA1 24906190fd2f47912d5752b073eb1c5cfd060869 SHA256 a7da6f796e6cffd63dd7a7f9a2fdab2ca3a1461e5e5e94aa8569068b701f7272
+EBUILD luarocks-2.0.7.1.ebuild 1308 RMD160 49b0dadaf47bfa10fb74026523f1f60631736519 SHA1 79ade3975725c26b22c5ad9843bc2e230084d3f2 SHA256 e2a1e6e49f5054569ec539ec12eaa1f4d1ae90204bb2cebf2111d2de423dc43e
+MISC ChangeLog 749 RMD160 68479e431d03c4bbe9a1be80572e0f38a303a31a SHA1 7fd25344bce67a938f7384e186e69f7d1f9ceaca SHA256 d2179a2075bddbc953f1c18a00e16a1521af0606565a98ed4a9cecdf86710c43
MISC metadata.xml 542 RMD160 2abf63724cbc223dce88ea3ebec13839727a70ed SHA1 a5ea5bd0d6940a927cf85811d06ab3b64cda025b SHA256 ed3e4f0b6c3e9b6072f4ce86496d09c263bd3eee9a04b1812b18ee140b93ef65
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
-
-iJwEAQEIAAYFAk59DAEACgkQfXuS5UK5QB14TQP+OBwnKuxBG13Mf9HKawh3/H6V
-KBHA8uGbprDhEeVfyOitD6878e3RajwLQbMif+L0bj3LU1/ojRp832BzU96vR0J0
-Pzy6EXS1VcFdHTIf8aBHUERrjIW/2DQD9fjhT+NoN/UNkK5zUNvHf+SsNokUmRl9
-pRhrf2rxdIWWZB/KD94=
-=BxIU
------END PGP SIGNATURE-----
diff --git a/dev-lua/luarocks/luarocks-1.0.ebuild b/dev-lua/luarocks/luarocks-2.0.7.1.ebuild
index 921d396f39cb..d0ce24db4ec8 100644
--- a/dev-lua/luarocks/luarocks-1.0.ebuild
+++ b/dev-lua/luarocks/luarocks-2.0.7.1.ebuild
@@ -1,12 +1,14 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lua/luarocks/luarocks-1.0.ebuild,v 1.1 2010/11/05 22:13:24 rafaelmartins Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lua/luarocks/luarocks-2.0.7.1.ebuild,v 1.1 2012/01/24 20:56:04 mabi Exp $
+
+EAPI=4
inherit eutils
DESCRIPTION="A deployment and management system for Lua modules"
HOMEPAGE="http://www.luarocks.org"
-SRC_URI="http://luaforge.net/frs/download.php/3727/${P}.tar.gz"
+SRC_URI="http://luarocks.org/releases/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
@@ -19,7 +21,7 @@ DEPEND="dev-lang/lua
RDEPEND="${DEPEND}
app-arch/unzip"
-src_compile() {
+src_configure() {
USE_MD5="md5sum"
USE_FETCH="wget"
use openssl && USE_MD5="openssl"
@@ -29,18 +31,20 @@ src_compile() {
# handle
./configure \
--prefix=/usr \
- --scripts-dir=/usr/bin \
- --with-lua=/usr \
--with-lua-lib=/usr/$(get_libdir) \
- --rocks-tree=/usr/lib/lua/luarocks \
+ --rocks-tree=/usr/$(get_libdir)/lua/luarocks \
--with-downloader=$USE_FETCH \
--with-md5-checker=$USE_MD5 \
--force-config || die "configure failed"
+}
+
+src_compile() {
emake DESTDIR="${D}" || die "make failed"
}
src_install() {
- emake DESTDIR="${D}" install || die "einstall"
+ # -j1 b/c otherwise it fails with to find src/bin/luarocks
+ emake DESTDIR="${D}" -j1 install || die "einstall"
}
pkg_preinst() {