summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Bickel <mabi@gentoo.org>2013-05-19 21:54:51 +0000
committerMatti Bickel <mabi@gentoo.org>2013-05-19 21:54:51 +0000
commitaca2f210bb55ce63f34ec7ced448ba85ac619730 (patch)
tree459ca9e6ede02e2be435b8675027156dc4260074 /dev-lua
parentkeyword ~amd64-fbsd, bug #468270 (diff)
downloadhistorical-aca2f210bb55ce63f34ec7ced448ba85ac619730.tar.gz
historical-aca2f210bb55ce63f34ec7ced448ba85ac619730.tar.bz2
historical-aca2f210bb55ce63f34ec7ced448ba85ac619730.zip
remove --force-config (bug #436754)
Package-Manager: portage-2.2.0_alpha168/cvs/Linux x86_64 Manifest-Sign-Key: 0x4849EC6C
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/luarocks/ChangeLog10
-rw-r--r--dev-lua/luarocks/Manifest13
-rw-r--r--dev-lua/luarocks/luarocks-2.0.8-r1.ebuild53
3 files changed, 72 insertions, 4 deletions
diff --git a/dev-lua/luarocks/ChangeLog b/dev-lua/luarocks/ChangeLog
index 7ac5095d5f69..0611d18b41f0 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.4 2012/06/07 19:13:37 zmedico Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lua/luarocks/ChangeLog,v 1.5 2013/05/19 21:54:24 mabi Exp $
+
+*luarocks-2.0.8-r1 (19 May 2013)
+
+ 19 May 2013; Matti Bickel <mabi@gentoo.org> +luarocks-2.0.8-r1.ebuild:
+ remove --force-config (bug #436754)
07 Jun 2012; Zac Medico <zmedico@gentoo.org> luarocks-2.0.7.1.ebuild,
luarocks-2.0.8.ebuild:
@@ -27,4 +32,3 @@
+luarocks-1.0.ebuild:
initial version. Thanks to A.S. Bradbury (asb@asbradbury.org) for the
original ebuild
-
diff --git a/dev-lua/luarocks/Manifest b/dev-lua/luarocks/Manifest
index f8d009f7696e..9b775414be65 100644
--- a/dev-lua/luarocks/Manifest
+++ b/dev-lua/luarocks/Manifest
@@ -1,6 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
DIST luarocks-2.0.7.1.tar.gz 81757 SHA256 a7da6f796e6cffd63dd7a7f9a2fdab2ca3a1461e5e5e94aa8569068b701f7272 SHA512 00f37c2baed83bbc7182a4595973bbe5c252fd7f530ebc35ba254fab727c1e6a7f743bafc25bfbde945e40d531f0e764c1f785edddef62fc6219e318bffdc6f3 WHIRLPOOL 8d2ae2abfb327b3fbfe84cd1fe4cfc1371ce68dc34548b78a36745f2dbad23f83791023e378d911287d8acecf6af9c8e3f9597552c8d01795114d464a5c78bf7
DIST luarocks-2.0.8.tar.gz 82313 SHA256 f8abf1ab03b744a817721a0ff4a0ee454e068735efaa8d1aadcfcd0f07cdaa88 SHA512 8246b3a863197bc5bd9efad343f8f5ba22d7a34904fd3afe99f916631ee30930ec91d15298e67abf22f0bcc6cda02785a5bbc9e60b424a631162e20941d20523 WHIRLPOOL 36d9673c308861a55cb6343e9245c7359710550835a7157bfb7e1389654e9c4c9963e09d3219d6df16bc8e275b2393c8fe21f10b3bbf0279be86f67c81cd523c
EBUILD luarocks-2.0.7.1.ebuild 1320 SHA256 29a63846fd37750b9d153a021d33b2d04e4b1d0a887032f1005ceaac4b952c98 SHA512 fc34cbc034cb6b17780e820a2b03126211a98bd93e247710031bf652a241093150185ac9db2352b3e7e74408b9791f6b8afe158d51ceb1351381bfdd420df68a WHIRLPOOL a9c508efb37378ed74afde1d63fc955de03967bb5f9abd724f031e70e7a6a4f92de8a037da90ff0201880e007db1d32ed6d3fb650a5c0a559b8b8cde801bb66e
+EBUILD luarocks-2.0.8-r1.ebuild 1375 SHA256 9def1c607ad0adf69f8f0b9bdc5a9fff80daf61f80d6ca5b0a98932d0f4b50c4 SHA512 11adf826dff154ef07939333398b1edfa58d5d5fb1c1560f4b4a9159e54ab07143642c5cbae499c8b5ca28f1b2770a5db8f7f47ba515d44245a71af42a979f75 WHIRLPOOL 343b1c8cac2436fff2c22a009cc906187bd46ce76ea2170a0b4440ae579295d6b140902c5a39ce8ed96711214fb19ce66f83b76f6796270cf1ed6a160473c74e
EBUILD luarocks-2.0.8.ebuild 1390 SHA256 17795ef21d995b78b2792b9eca5271d0584b21cb8b81e3bd7af05eaa4a0dee4a SHA512 29076962c646a6e096a2db637c399646ac197e18cf873977e8999ccca526ae59885fce0d35da629f23d12b2f33c79e9fa769e6ca3b6394940c54de503784ddc5 WHIRLPOOL 70c531ddbcbaae6929a5698309eca79ee98c40ef7caecd9e703bdea2b9c1cd6c72d48f6e62e882328d1d3c8a4c31308ae3515c8c9ddd937db9f36111fb91f725
-MISC ChangeLog 1047 SHA256 09b8dc93015a083973abfc8173117a9ddc99562e78a44c29fe1bf8392c71e050 SHA512 78eaacbedfe47a04bd1e0204ef23ff7dcdfc1720a11651d6d44a6f08989bb2735ef33657b3c1ec9a685c1f678170d638eccbcdb09dcb3dca1cc5e2e1e55bdee6 WHIRLPOOL a544086d79d5f61d35baea80503b1852348436029a0df77efccebe3d541ff76464a906862711ca9ef13d19572cb7fc8086714769bad4e18d62ac6e9427d20f47
+MISC ChangeLog 1189 SHA256 3e0409d291e4f04bf1f8e4bcc77a8ee4e0a4a09bd4a8795c824c6412ee44820f SHA512 598ad868dc74d1418c3a56c3dbaa75795bc45a0876d1574d1bfd6471f62ca677fa97d0c4516f14da9b8b5b9afc318445862f7442d78a2b2180d3a6376179729e WHIRLPOOL 89acba984df765d0b1adfb503b4cd84e513d0a1891c64d584d1cf3dc59c221554179ac1832495a50547d5400ad38eadd7c0369eee8b375d40466da408f6abe7d
MISC metadata.xml 542 SHA256 ed3e4f0b6c3e9b6072f4ce86496d09c263bd3eee9a04b1812b18ee140b93ef65 SHA512 5491f87b1d5e2ff3b3ba55707ea19ccaeb2c8a9b95e7bef3f09a6132254604f6fa466aa31c203a9e1f4270e9c651347e97dbaab7c7bfdaa3e9e43cfb7c7ee961 WHIRLPOOL fbfcfb14d6358180ff380c9282f6d2b03a527fb47944a27a09b3865ebafedac8553e18fc799aa29e134a01478427af7a303575a63c89b7fb8b8537633f308055
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iEYEAREIAAYFAlGZShoACgkQfNMcoUhJ7GwrwQCfTERkGc0UEnZX5RI0OEWIHLrc
+RKMAnRtXrZuxtoi+iMSpogbXnR4MlhNF
+=tROt
+-----END PGP SIGNATURE-----
diff --git a/dev-lua/luarocks/luarocks-2.0.8-r1.ebuild b/dev-lua/luarocks/luarocks-2.0.8-r1.ebuild
new file mode 100644
index 000000000000..c24a191695cd
--- /dev/null
+++ b/dev-lua/luarocks/luarocks-2.0.8-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2013 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-r1.ebuild,v 1.1 2013/05/19 21:54:24 mabi Exp $
+
+EAPI=4
+
+inherit eutils multilib
+
+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 \
+ || 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"
+}