From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-util/coccinelle: ChangeLog coccinelle-0.2.2.ebuild |
Date: | Fri, 09 Apr 2010 13:14:13 |
Message-Id: | 20100409131409.88E632C04A@corvid.gentoo.org |
1 | aballier 10/04/09 13:14:09 |
2 | |
3 | Modified: ChangeLog |
4 | Added: coccinelle-0.2.2.ebuild |
5 | Log: |
6 | version bump |
7 | (Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.4 dev-util/coccinelle/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/coccinelle/ChangeLog?rev=1.4&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/coccinelle/ChangeLog?rev=1.4&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/coccinelle/ChangeLog?r1=1.3&r2=1.4 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-util/coccinelle/ChangeLog,v |
19 | retrieving revision 1.3 |
20 | retrieving revision 1.4 |
21 | diff -u -r1.3 -r1.4 |
22 | --- ChangeLog 6 Apr 2010 11:55:18 -0000 1.3 |
23 | +++ ChangeLog 9 Apr 2010 13:14:09 -0000 1.4 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for dev-util/coccinelle |
26 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-util/coccinelle/ChangeLog,v 1.3 2010/04/06 11:55:18 aballier Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-util/coccinelle/ChangeLog,v 1.4 2010/04/09 13:14:09 aballier Exp $ |
29 | + |
30 | +*coccinelle-0.2.2 (09 Apr 2010) |
31 | + |
32 | + 09 Apr 2010; Alexis Ballier <aballier@g.o> |
33 | + +coccinelle-0.2.2.ebuild: |
34 | + version bump |
35 | |
36 | 06 Apr 2010; Alexis Ballier <aballier@g.o> coccinelle-0.2.1.ebuild: |
37 | set VARTEXFONTS to avoid sandbox violations, bug #312343 |
38 | |
39 | |
40 | |
41 | 1.1 dev-util/coccinelle/coccinelle-0.2.2.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/coccinelle/coccinelle-0.2.2.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/coccinelle/coccinelle-0.2.2.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: coccinelle-0.2.2.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2010 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-util/coccinelle/coccinelle-0.2.2.ebuild,v 1.1 2010/04/09 13:14:09 aballier Exp $ |
51 | |
52 | EAPI="2" |
53 | |
54 | inherit multilib |
55 | |
56 | DESCRIPTION="Program matching and transformation engine" |
57 | HOMEPAGE="http://coccinelle.lip6.fr/" |
58 | SRC_URI="http://coccinelle.lip6.fr/distrib/${P}.tgz" |
59 | |
60 | LICENSE="GPL-2" |
61 | SLOT="0" |
62 | KEYWORDS="~amd64 ~x86" |
63 | IUSE="doc +ocamlopt python" |
64 | |
65 | RDEPEND="python? ( dev-lang/python ) |
66 | >=dev-lang/ocaml-3.10[ocamlopt?]" |
67 | DEPEND="${RDEPEND} |
68 | doc? ( virtual/latex-base |
69 | || ( dev-texlive/texlive-latexextra app-text/ptex ) )" |
70 | |
71 | src_configure() { |
72 | # non-autoconf |
73 | ./configure \ |
74 | --prefix=/usr \ |
75 | $(use ocamlopt || echo "--no-opt") \ |
76 | $(use_with python) \ |
77 | || die |
78 | sed -i "s:^LIBDIR=.*:LIBDIR=/usr/$(get_libdir)/ocaml/stublibs/:" Makefile.config |
79 | sed -i "s:^SHAREDIR=.*:SHAREDIR=/usr/libexec/${PN}/:" Makefile.config |
80 | sed -i "s:^MANDIR=.*:MANDIR=/usr/share/man/:" Makefile.config |
81 | } |
82 | |
83 | src_compile() { |
84 | emake depend || die |
85 | emake || die |
86 | if use doc ; then |
87 | VARTEXFONTS="${T}"/fonts emake docs || die |
88 | fi |
89 | if use ocamlopt ; then |
90 | emake opt || die |
91 | fi |
92 | } |
93 | |
94 | src_test() { |
95 | ./spatch standard.h -parse_c -dir tests/ || die |
96 | yes | ./spatch -iso_file standard.iso -macro_file_builtins standard.h -testall || die |
97 | if use ocamlopt ; then |
98 | ./spatch.opt -iso_file standard.iso -macro_file_builtins standard.h -testall || die |
99 | fi |
100 | } |
101 | |
102 | src_install() { |
103 | emake DESTDIR="${D}" install || die |
104 | dodoc authors.txt bugs.txt changes.txt credits.txt readme.txt |
105 | use doc && dodoc docs/manual/*.pdf |
106 | export STRIP_MASK='*/coccinelle/spatch' |
107 | } |