summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Bickel <mabi@gentoo.org>2012-03-06 10:28:05 +0000
committerMatti Bickel <mabi@gentoo.org>2012-03-06 10:28:05 +0000
commitd153d2069bc61023bdff1dae75f38ce416ded51c (patch)
tree3cbd4b90e93a9489110a6476bb7b480944544655 /dev-lua
parentRemove last bit of bad handling of static-libs, #407083 (diff)
downloadhistorical-d153d2069bc61023bdff1dae75f38ce416ded51c.tar.gz
historical-d153d2069bc61023bdff1dae75f38ce416ded51c.tar.bz2
historical-d153d2069bc61023bdff1dae75f38ce416ded51c.zip
version bump; also restrict make to -j1 b/c of bug #402005
Package-Manager: portage-2.2.0_alpha90/cvs/Linux x86_64
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/luarocks/ChangeLog7
-rw-r--r--dev-lua/luarocks/Manifest4
-rw-r--r--dev-lua/luarocks/luarocks-2.0.8.ebuild53
3 files changed, 62 insertions, 2 deletions
diff --git a/dev-lua/luarocks/ChangeLog b/dev-lua/luarocks/ChangeLog
index feaedf7ff987..7c49d73d2b00 100644
--- a/dev-lua/luarocks/ChangeLog
+++ b/dev-lua/luarocks/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lua/luarocks
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/dev-lua/luarocks/ChangeLog,v 1.3 2012/03/06 10:28:05 mabi Exp $
+
+*luarocks-2.0.8 (06 Mar 2012)
+
+ 06 Mar 2012; Matti Bickel <mabi@gentoo.org> +luarocks-2.0.8.ebuild:
+ version bump; also restrict make to -j1 b/c of bug #402005
*luarocks-2.0.7.1 (24 Jan 2012)
diff --git a/dev-lua/luarocks/Manifest b/dev-lua/luarocks/Manifest
index 0e1528cb480d..cf4a2e512828 100644
--- a/dev-lua/luarocks/Manifest
+++ b/dev-lua/luarocks/Manifest
@@ -1,4 +1,6 @@
DIST luarocks-2.0.7.1.tar.gz 81757 RMD160 f1c5e707d75e490de0cc05f2f7b5fc5bf7d465fd SHA1 24906190fd2f47912d5752b073eb1c5cfd060869 SHA256 a7da6f796e6cffd63dd7a7f9a2fdab2ca3a1461e5e5e94aa8569068b701f7272
+DIST luarocks-2.0.8.tar.gz 82313 RMD160 b6a83fe329b7f305f7e0b99bf64f62d2324b15db SHA1 d4e56d4de7f8bb50ba9df5ab8dcce0b6687c1850 SHA256 f8abf1ab03b744a817721a0ff4a0ee454e068735efaa8d1aadcfcd0f07cdaa88
EBUILD luarocks-2.0.7.1.ebuild 1308 RMD160 49b0dadaf47bfa10fb74026523f1f60631736519 SHA1 79ade3975725c26b22c5ad9843bc2e230084d3f2 SHA256 e2a1e6e49f5054569ec539ec12eaa1f4d1ae90204bb2cebf2111d2de423dc43e
-MISC ChangeLog 749 RMD160 68479e431d03c4bbe9a1be80572e0f38a303a31a SHA1 7fd25344bce67a938f7384e186e69f7d1f9ceaca SHA256 d2179a2075bddbc953f1c18a00e16a1521af0606565a98ed4a9cecdf86710c43
+EBUILD luarocks-2.0.8.ebuild 1378 RMD160 84357070f9ebfca952be6485ea9e7febc7762a52 SHA1 9d8bac6209fa24f38e967bcdb230215daba150f7 SHA256 5e270a21e9fba2495d56bdba8580f431100570a529c538bb0f8f4d9b50381a8e
+MISC ChangeLog 912 RMD160 4d0f739ec48851d83eb492a0c8b5099b3b1d26f2 SHA1 5894718b7150f6c7a0362607b80c45542024978d SHA256 608e40c2b09338664c19128fda3cb3fead5230fa965447f5122ef681214626d5
MISC metadata.xml 542 RMD160 2abf63724cbc223dce88ea3ebec13839727a70ed SHA1 a5ea5bd0d6940a927cf85811d06ab3b64cda025b SHA256 ed3e4f0b6c3e9b6072f4ce86496d09c263bd3eee9a04b1812b18ee140b93ef65
diff --git a/dev-lua/luarocks/luarocks-2.0.8.ebuild b/dev-lua/luarocks/luarocks-2.0.8.ebuild
new file mode 100644
index 000000000000..e82fb79f75bb
--- /dev/null
+++ b/dev-lua/luarocks/luarocks-2.0.8.ebuild
@@ -0,0 +1,53 @@
+# 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-2.0.8.ebuild,v 1.1 2012/03/06 10:28:05 mabi Exp $
+
+EAPI=4
+
+inherit eutils
+
+DESCRIPTION="A deployment and management system for Lua modules"
+HOMEPAGE="http://www.luarocks.org"
+SRC_URI="http://luarocks.org/releases/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~ppc"
+IUSE="curl openssl"
+
+DEPEND="dev-lang/lua
+ curl? ( net-misc/curl )
+ openssl? ( dev-libs/openssl )"
+RDEPEND="${DEPEND}
+ app-arch/unzip"
+
+src_configure() {
+ USE_MD5="md5sum"
+ USE_FETCH="wget"
+ use openssl && USE_MD5="openssl"
+ use curl && USE_FETCH="curl"
+
+ # econf doesn't work b/c it passes variables the custom configure can't
+ # handle
+ ./configure \
+ --prefix=/usr \
+ --with-lua-lib=/usr/$(get_libdir) \
+ --rocks-tree=/usr/$(get_libdir)/lua/luarocks \
+ --with-downloader=$USE_FETCH \
+ --with-md5-checker=$USE_MD5 \
+ --force-config || die "configure failed"
+}
+
+src_compile() {
+ # -j1 b/c make tries to delete files it has yet to create (bug #402005)
+ emake DESTDIR="${D}" -j1 || die "make failed"
+}
+
+src_install() {
+ # -j1 b/c otherwise it fails to find src/bin/luarocks
+ emake DESTDIR="${D}" -j1 install || die "einstall"
+}
+
+pkg_preinst() {
+ find "${D}" -type f | xargs sed -i -e "s:${D}::g" || die "sed failed"
+}