From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ml/cudf: ChangeLog cudf-0.8.ebuild |
Date: | Wed, 01 Jul 2015 09:40:46 |
Message-Id: | 20150701094037.ACE2074B@oystercatcher.gentoo.org |
1 | aballier 15/07/01 09:40:37 |
2 | |
3 | Modified: ChangeLog |
4 | Added: cudf-0.8.ebuild |
5 | Log: |
6 | version bump |
7 | |
8 | Signed-off-by: Alexis Ballier <aballier@g.o> |
9 | (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 160F534A) |
10 | |
11 | Revision Changes Path |
12 | 1.5 dev-ml/cudf/ChangeLog |
13 | |
14 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/cudf/ChangeLog?rev=1.5&view=markup |
15 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/cudf/ChangeLog?rev=1.5&content-type=text/plain |
16 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/cudf/ChangeLog?r1=1.4&r2=1.5 |
17 | |
18 | Index: ChangeLog |
19 | =================================================================== |
20 | RCS file: /var/cvsroot/gentoo-x86/dev-ml/cudf/ChangeLog,v |
21 | retrieving revision 1.4 |
22 | retrieving revision 1.5 |
23 | diff -u -r1.4 -r1.5 |
24 | --- ChangeLog 28 Nov 2014 17:47:30 -0000 1.4 |
25 | +++ ChangeLog 1 Jul 2015 09:40:37 -0000 1.5 |
26 | @@ -1,6 +1,11 @@ |
27 | # ChangeLog for dev-ml/cudf |
28 | -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 | -# $Header: /var/cvsroot/gentoo-x86/dev-ml/cudf/ChangeLog,v 1.4 2014/11/28 17:47:30 aballier Exp $ |
30 | +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
31 | +# $Header: /var/cvsroot/gentoo-x86/dev-ml/cudf/ChangeLog,v 1.5 2015/07/01 09:40:37 aballier Exp $ |
32 | + |
33 | +*cudf-0.8 (01 Jul 2015) |
34 | + |
35 | + 01 Jul 2015; Alexis Ballier <aballier@g.o> +cudf-0.8.ebuild: |
36 | + version bump |
37 | |
38 | 28 Nov 2014; Alexis Ballier <aballier@g.o> cudf-0.7.ebuild: |
39 | update deps for ocaml 4.02 |
40 | |
41 | |
42 | |
43 | 1.1 dev-ml/cudf/cudf-0.8.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/cudf/cudf-0.8.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/cudf/cudf-0.8.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: cudf-0.8.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2015 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/dev-ml/cudf/cudf-0.8.ebuild,v 1.1 2015/07/01 09:40:37 aballier Exp $ |
53 | |
54 | EAPI=5 |
55 | |
56 | inherit multilib toolchain-funcs |
57 | |
58 | DESCRIPTION="Library to parse, pretty print, and evaluate CUDF documents" |
59 | HOMEPAGE="http://www.mancoosi.org/cudf/" |
60 | SRC_URI="https://gforge.inria.fr/frs/download.php/file/34659/${P}.tar.gz" |
61 | |
62 | LICENSE="LGPL-3" |
63 | SLOT="0/${PV}" |
64 | KEYWORDS="~amd64" |
65 | IUSE="+ocamlopt test" |
66 | |
67 | RDEPEND=" |
68 | >=dev-lang/ocaml-3.12:=[ocamlopt?] |
69 | dev-ml/extlib:= |
70 | dev-libs/glib:2 |
71 | || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 ) |
72 | " |
73 | DEPEND="${RDEPEND} |
74 | test? ( dev-ml/ounit ) |
75 | dev-ml/findlib |
76 | dev-lang/perl |
77 | " |
78 | |
79 | src_prepare() { |
80 | sed -i \ |
81 | -e 's|make|$(MAKE)|g' \ |
82 | Makefile || die |
83 | sed -i \ |
84 | -e 's|-lncurses|$(shell ${PKG_CONFIG} --libs ncurses glib-2.0)|g' \ |
85 | c-lib/Makefile || die |
86 | sed -i \ |
87 | -e 's|-lcurses|$(shell ${PKG_CONFIG} --libs ncurses glib-2.0)|g' \ |
88 | c-lib/Makefile.variants || die |
89 | |
90 | tc-export CC PKG_CONFIG |
91 | |
92 | sed -i \ |
93 | -e "s|-lncurses|$( $(tc-getPKG_CONFIG) --libs ncurses)|g" \ |
94 | c-lib/cudf.pc.in || die |
95 | } |
96 | |
97 | src_compile() { |
98 | emake -j1 all |
99 | emake c-lib |
100 | if use ocamlopt ; then |
101 | emake -j1 opt |
102 | emake c-lib-opt |
103 | fi |
104 | } |
105 | |
106 | src_test() { |
107 | emake test |
108 | emake c-lib-test |
109 | } |
110 | |
111 | src_install() { |
112 | emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install |
113 | dodoc BUGS ChangeLog README TODO |
114 | } |