Gentoo Archives: gentoo-commits

From: "Matti Bickel (mabi)" <mabi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lua/luarocks: luarocks-2.0.8-r1.ebuild ChangeLog
Date: Sun, 19 May 2013 21:54:30
Message-Id: 20130519215424.E5C942171D@flycatcher.gentoo.org
1 mabi 13/05/19 21:54:24
2
3 Modified: ChangeLog
4 Added: luarocks-2.0.8-r1.ebuild
5 Log:
6 remove --force-config (bug #436754)
7
8 (Portage version: 2.2.0_alpha168/cvs/Linux x86_64, signed Manifest commit with key 0x4849EC6C)
9
10 Revision Changes Path
11 1.5 dev-lua/luarocks/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luarocks/ChangeLog?rev=1.5&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luarocks/ChangeLog?rev=1.5&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luarocks/ChangeLog?r1=1.4&r2=1.5
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-lua/luarocks/ChangeLog,v
20 retrieving revision 1.4
21 retrieving revision 1.5
22 diff -u -r1.4 -r1.5
23 --- ChangeLog 7 Jun 2012 19:13:37 -0000 1.4
24 +++ ChangeLog 19 May 2013 21:54:24 -0000 1.5
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-lua/luarocks
27 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-lua/luarocks/ChangeLog,v 1.4 2012/06/07 19:13:37 zmedico Exp $
29 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-lua/luarocks/ChangeLog,v 1.5 2013/05/19 21:54:24 mabi Exp $
31 +
32 +*luarocks-2.0.8-r1 (19 May 2013)
33 +
34 + 19 May 2013; Matti Bickel <mabi@g.o> +luarocks-2.0.8-r1.ebuild:
35 + remove --force-config (bug #436754)
36
37 07 Jun 2012; Zac Medico <zmedico@g.o> luarocks-2.0.7.1.ebuild,
38 luarocks-2.0.8.ebuild:
39 @@ -27,4 +32,3 @@
40 +luarocks-1.0.ebuild:
41 initial version. Thanks to A.S. Bradbury (asb@××××××××××.org) for the
42 original ebuild
43 -
44
45
46
47 1.1 dev-lua/luarocks/luarocks-2.0.8-r1.ebuild
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luarocks/luarocks-2.0.8-r1.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luarocks/luarocks-2.0.8-r1.ebuild?rev=1.1&content-type=text/plain
51
52 Index: luarocks-2.0.8-r1.ebuild
53 ===================================================================
54 # Copyright 1999-2013 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 # $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 $
57
58 EAPI=4
59
60 inherit eutils multilib
61
62 DESCRIPTION="A deployment and management system for Lua modules"
63 HOMEPAGE="http://www.luarocks.org"
64 SRC_URI="http://luarocks.org/releases/${P}.tar.gz"
65
66 LICENSE="MIT"
67 SLOT="0"
68 KEYWORDS="~x86 ~amd64 ~ppc"
69 IUSE="curl openssl"
70
71 DEPEND="dev-lang/lua
72 curl? ( net-misc/curl )
73 openssl? ( dev-libs/openssl )"
74 RDEPEND="${DEPEND}
75 app-arch/unzip"
76
77 src_configure() {
78 USE_MD5="md5sum"
79 USE_FETCH="wget"
80 use openssl && USE_MD5="openssl"
81 use curl && USE_FETCH="curl"
82
83 # econf doesn't work b/c it passes variables the custom configure can't
84 # handle
85 ./configure \
86 --prefix=/usr \
87 --with-lua-lib=/usr/$(get_libdir) \
88 --rocks-tree=/usr/$(get_libdir)/lua/luarocks \
89 --with-downloader=$USE_FETCH \
90 --with-md5-checker=$USE_MD5 \
91 || die "configure failed"
92 }
93
94 src_compile() {
95 # -j1 b/c make tries to delete files it has yet to create (bug #402005)
96 emake DESTDIR="${D}" -j1 || die "make failed"
97 }
98
99 src_install() {
100 # -j1 b/c otherwise it fails to find src/bin/luarocks
101 emake DESTDIR="${D}" -j1 install || die "einstall"
102 }
103
104 pkg_preinst() {
105 find "${D}" -type f | xargs sed -i -e "s:${D}::g" || die "sed failed"
106 }