Gentoo Archives: gentoo-commits

From: "Rafael Martins (rafaelmartins)" <rafaelmartins@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/luajit: ChangeLog luajit-2.0.0_beta5-r1.ebuild luajit-2.0.0_beta5.ebuild
Date: Sun, 07 Nov 2010 02:51:07
Message-Id: 20101107025101.87E6120054@flycatcher.gentoo.org
1 rafaelmartins 10/11/07 02:51:01
2
3 Modified: ChangeLog
4 Added: luajit-2.0.0_beta5-r1.ebuild
5 Removed: luajit-2.0.0_beta5.ebuild
6 Log:
7 revbump
8
9 (Portage version: 2.2.0_alpha3/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.4 dev-lang/luajit/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/luajit/ChangeLog?rev=1.4&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/luajit/ChangeLog?rev=1.4&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/luajit/ChangeLog?r1=1.3&r2=1.4
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-lang/luajit/ChangeLog,v
21 retrieving revision 1.3
22 retrieving revision 1.4
23 diff -u -r1.3 -r1.4
24 --- ChangeLog 7 Nov 2010 02:27:11 -0000 1.3
25 +++ ChangeLog 7 Nov 2010 02:51:01 -0000 1.4
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-lang/luajit
28 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/luajit/ChangeLog,v 1.3 2010/11/07 02:27:11 rafaelmartins Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/luajit/ChangeLog,v 1.4 2010/11/07 02:51:01 rafaelmartins Exp $
31 +
32 +*luajit-2.0.0_beta5-r1 (07 Nov 2010)
33 +
34 + 07 Nov 2010; Rafael G. Martins <rafaelmartins@g.o>
35 + -luajit-2.0.0_beta5.ebuild, +luajit-2.0.0_beta5-r1.ebuild:
36 + revbump
37
38 07 Nov 2010; Rafael G. Martins <rafaelmartins@g.o>
39 luajit-2.0.0_beta5.ebuild:
40
41
42
43 1.1 dev-lang/luajit/luajit-2.0.0_beta5-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/luajit/luajit-2.0.0_beta5-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/luajit/luajit-2.0.0_beta5-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: luajit-2.0.0_beta5-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-lang/luajit/luajit-2.0.0_beta5-r1.ebuild,v 1.1 2010/11/07 02:51:01 rafaelmartins Exp $
53
54 EAPI="2"
55
56 inherit eutils multilib pax-utils
57
58 MY_P="LuaJIT-${PV/_/-}"
59
60 DESCRIPTION="Just-In-Time Compiler for the Lua programming language"
61 HOMEPAGE="http://luajit.org/"
62 SRC_URI="http://luajit.org/download/${MY_P}.tar.gz"
63
64 LICENSE="MIT"
65 SLOT="2"
66 KEYWORDS="~amd64 ~x86"
67 IUSE=""
68
69 S="${WORKDIR}/${MY_P}"
70
71 src_prepare(){
72 # fixing prefix and version
73 sed -i -e "s|/usr/local|/usr|" \
74 -e "s|/lib|/$(get_libdir)|" \
75 -e "s|VERSION=.*|VERSION= ${PV}|" \
76 Makefile || die "failed to fix prefix in Makefile"
77 sed -i -e 's|/usr/local|/usr|' \
78 -e "s|lib/|$(get_libdir)/|" \
79 src/luaconf.h || die "failed to fix prefix in luaconf.h"
80
81 # removing strip
82 sed -i -e '/$(Q)$(TARGET_STRIP)/d' src/Makefile \
83 || die "failed to remove forced strip"
84
85 # hotfix from upstream, just for this version (2.0.0_beta5)
86 epatch "${FILESDIR}/${PV}_hotfix1.patch"
87 }
88
89 src_install(){
90 einstall DESTDIR="${D}"
91 pax-mark m "${D}usr/bin/luajit-${PV}"
92 dosym "luajit-${PV}" "/usr/bin/luajit-${SLOT}"
93 }