From: | "Sergei Trofimovich (slyfox)" <slyfox@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-lang/squirrel: squirrel-2.2.4-r2.ebuild ChangeLog |
Date: | Thu, 07 Jun 2012 12:20:43 |
Message-Id: | 20120607122001.C796F2004E@flycatcher.gentoo.org |
1 | slyfox 12/06/07 12:20:01 |
2 | |
3 | Modified: ChangeLog |
4 | Added: squirrel-2.2.4-r2.ebuild |
5 | Log: |
6 | Fix build failure against gcc-4.7 (approved by binki) |
7 | |
8 | (Portage version: 2.2.0_alpha108_p3/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.6 dev-lang/squirrel/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/squirrel/ChangeLog?rev=1.6&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/squirrel/ChangeLog?rev=1.6&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/squirrel/ChangeLog?r1=1.5&r2=1.6 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-lang/squirrel/ChangeLog,v |
20 | retrieving revision 1.5 |
21 | retrieving revision 1.6 |
22 | diff -u -r1.5 -r1.6 |
23 | --- ChangeLog 4 May 2011 22:20:54 -0000 1.5 |
24 | +++ ChangeLog 7 Jun 2012 12:20:01 -0000 1.6 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for dev-lang/squirrel |
27 | -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-lang/squirrel/ChangeLog,v 1.5 2011/05/04 22:20:54 binki Exp $ |
29 | +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/dev-lang/squirrel/ChangeLog,v 1.6 2012/06/07 12:20:01 slyfox Exp $ |
31 | + |
32 | +*squirrel-2.2.4-r2 (07 Jun 2012) |
33 | + |
34 | + 07 Jun 2012; Sergei Trofimovich <slyfox@g.o> |
35 | + +files/squirrel-2.2.4-gcc47.patch, +squirrel-2.2.4-r2.ebuild: |
36 | + Fix build failure against gcc-4.7 (approved by binki) |
37 | |
38 | 04 May 2011; Nathan Phillip Brink <binki@g.o> metadata.xml: |
39 | Take over squirrel which used to be proxy maintained for me. |
40 | |
41 | |
42 | |
43 | 1.1 dev-lang/squirrel/squirrel-2.2.4-r2.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/squirrel/squirrel-2.2.4-r2.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/squirrel/squirrel-2.2.4-r2.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: squirrel-2.2.4-r2.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2012 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/dev-lang/squirrel/squirrel-2.2.4-r2.ebuild,v 1.1 2012/06/07 12:20:01 slyfox Exp $ |
53 | |
54 | EAPI=3 |
55 | |
56 | inherit autotools eutils multilib |
57 | |
58 | MY_P="${PN}_${PV}_stable" |
59 | DESCRIPTION="A interpreted language mainly used for games" |
60 | HOMEPAGE="http://squirrel-lang.org/" |
61 | SRC_URI="mirror://sourceforge/${PN}/${PN}${PV:0:1}/${MY_P}/${MY_P}.tar.gz" |
62 | |
63 | LICENSE="ZLIB" |
64 | SLOT="0" |
65 | KEYWORDS="~amd64 ~x86" |
66 | IUSE="doc examples static-libs" |
67 | |
68 | # /usr/bin/sq conflicts |
69 | RDEPEND="!app-text/ispell" |
70 | |
71 | S="${WORKDIR}/SQUIRREL${PV:0:1}" |
72 | |
73 | src_prepare() { |
74 | epatch "${FILESDIR}"/${P}-autotools.patch |
75 | epatch "${FILESDIR}"/${P}-supertux-const.patch |
76 | epatch "${FILESDIR}"/${P}-stdint.h.patch |
77 | epatch "${FILESDIR}"/${P}-gcc47.patch |
78 | |
79 | eautoreconf |
80 | } |
81 | |
82 | src_configure() { |
83 | econf --docdir="${EPREFIX}"/usr/share/doc/${PF} \ |
84 | $(use_enable doc) \ |
85 | $(use_enable examples) \ |
86 | $(use_enable static-libs static) |
87 | } |
88 | |
89 | src_install() { |
90 | emake DESTDIR="${D}" install || die |
91 | if ! use static-libs; then |
92 | rm -v "${ED}"/usr/$(get_libdir)/*.la || die |
93 | fi |
94 | |
95 | dodoc HISTORY README || die |
96 | } |