Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ml/ounit: ounit-1.1.1.ebuild ChangeLog
Date: Sat, 28 Jan 2012 19:22:09
Message-Id: 20120128192157.B52CF2004B@flycatcher.gentoo.org
1 aballier 12/01/28 19:21:57
2
3 Modified: ChangeLog
4 Added: ounit-1.1.1.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.25 dev-ml/ounit/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ounit/ChangeLog?rev=1.25&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ounit/ChangeLog?rev=1.25&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ounit/ChangeLog?r1=1.24&r2=1.25
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ml/ounit/ChangeLog,v
20 retrieving revision 1.24
21 retrieving revision 1.25
22 diff -u -r1.24 -r1.25
23 --- ChangeLog 20 Jan 2011 19:43:18 -0000 1.24
24 +++ ChangeLog 28 Jan 2012 19:21:57 -0000 1.25
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ml/ounit
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/ounit/ChangeLog,v 1.24 2011/01/20 19:43:18 aballier Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/ounit/ChangeLog,v 1.25 2012/01/28 19:21:57 aballier Exp $
31 +
32 +*ounit-1.1.1 (28 Jan 2012)
33 +
34 + 28 Jan 2012; Alexis Ballier <aballier@g.o> +ounit-1.1.1.ebuild:
35 + version bump
36
37 20 Jan 2011; Alexis Ballier <aballier@g.o> -ounit-1.0.3.ebuild:
38 remove old
39
40
41
42 1.1 dev-ml/ounit/ounit-1.1.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ounit/ounit-1.1.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ounit/ounit-1.1.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: ounit-1.1.1.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-ml/ounit/ounit-1.1.1.ebuild,v 1.1 2012/01/28 19:21:57 aballier Exp $
52
53 EAPI="2"
54
55 inherit findlib multilib
56
57 DESCRIPTION="Unit testing framework for OCaml"
58 HOMEPAGE="http://ounit.forge.ocamlcore.org/"
59 SRC_URI="http://forge.ocamlcore.org/frs/download.php/762/${P}.tar.gz"
60 LICENSE="MIT"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~x86"
63 DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]"
64 RDEPEND="${DEPEND}"
65 IUSE="debug doc +ocamlopt"
66
67 oasis_use_enable() {
68 echo "--override $2 `use $1 && echo \"true\" || echo \"false\"`"
69 }
70
71 src_configure() {
72 chmod +x configure
73 ./configure --prefix usr \
74 --libdir /usr/$(get_libdir) \
75 --docdir /usr/share/doc/${PF}/html \
76 --destdir "${D}" \
77 $(oasis_use_enable debug debug) \
78 $(oasis_use_enable ocamlopt is_native) \
79 || die
80 }
81
82 src_compile() {
83 emake || die
84 if use doc ; then
85 emake doc || die
86 fi
87 }
88
89 src_install() {
90 findlib_src_install
91
92 # install documentation
93 dodoc README* AUTHORS* changelog || die
94 }