From: | "Sebastien Fabbro (bicatali)" <bicatali@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-cpp/muParser: ChangeLog muParser-2.2.2.ebuild |
Date: | Thu, 10 May 2012 17:55:04 |
Message-Id: | 20120510175429.348D42004B@flycatcher.gentoo.org |
1 | bicatali 12/05/10 17:54:29 |
2 | |
3 | Modified: ChangeLog |
4 | Added: muParser-2.2.2.ebuild |
5 | Log: |
6 | Version bump |
7 | |
8 | (Portage version: 2.1.10.56/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.24 dev-cpp/muParser/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/muParser/ChangeLog?rev=1.24&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/muParser/ChangeLog?rev=1.24&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/muParser/ChangeLog?r1=1.23&r2=1.24 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-cpp/muParser/ChangeLog,v |
20 | retrieving revision 1.23 |
21 | retrieving revision 1.24 |
22 | diff -u -r1.23 -r1.24 |
23 | --- ChangeLog 21 Dec 2011 08:41:14 -0000 1.23 |
24 | +++ ChangeLog 10 May 2012 17:54:28 -0000 1.24 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-cpp/muParser |
27 | -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/muParser/ChangeLog,v 1.23 2011/12/21 08:41:14 jlec Exp $ |
29 | +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/muParser/ChangeLog,v 1.24 2012/05/10 17:54:28 bicatali Exp $ |
31 | + |
32 | +*muParser-2.2.2 (10 May 2012) |
33 | + |
34 | + 10 May 2012; Sébastien Fabbro <bicatali@g.o> +muParser-2.2.2.ebuild: |
35 | + Version bump |
36 | |
37 | 21 Dec 2011; Justin Lecher <jlec@g.o> -muParser-1.32-r1.ebuild: |
38 | Cleaned old |
39 | |
40 | |
41 | |
42 | 1.1 dev-cpp/muParser/muParser-2.2.2.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/muParser/muParser-2.2.2.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/muParser/muParser-2.2.2.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: muParser-2.2.2.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2012 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/dev-cpp/muParser/muParser-2.2.2.ebuild,v 1.1 2012/05/10 17:54:29 bicatali Exp $ |
52 | |
53 | EAPI=4 |
54 | |
55 | inherit eutils |
56 | |
57 | MY_PN=${PN/P/p} |
58 | MY_P=${MY_PN}_v${PV/./} |
59 | |
60 | DESCRIPTION="Library for parsing mathematical expressions" |
61 | HOMEPAGE="http://muparser.sourceforge.net/" |
62 | SRC_URI="mirror://sourceforge/${PN/P/p}/${PN/P/p}/Version%20${PV}/${PN/P/p}_v${PV//./_}.zip" |
63 | |
64 | LICENSE="MIT" |
65 | SLOT="0" |
66 | KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
67 | IUSE="doc test" |
68 | |
69 | RDEPEND="" |
70 | DEPEND="app-arch/unzip" |
71 | |
72 | S="${WORKDIR}"/${PN/P/p}_v${PV//./_} |
73 | |
74 | src_prepare() { |
75 | epatch \ |
76 | "${FILESDIR}"/${PN}-1.32-build.patch \ |
77 | "${FILESDIR}"/${PN}-1.32-parallel-build.patch |
78 | sed -i \ |
79 | -e 's:-O2::g' \ |
80 | configure || die |
81 | } |
82 | |
83 | src_configure() { |
84 | chmod +x configure || die |
85 | econf $(use_enable test samples) |
86 | } |
87 | |
88 | src_test() { |
89 | cat > test.sh <<- EOFTEST |
90 | LD_LIBRARY_PATH=${S}/lib samples/example1/example1 <<- EOF |
91 | quit |
92 | EOF |
93 | EOFTEST |
94 | sh ./test.sh || die "test failed" |
95 | } |
96 | |
97 | src_install() { |
98 | default |
99 | dodoc Changes.txt |
100 | use doc && dohtml -r docs/html/* |
101 | } |