1 |
aballier 13/08/27 16:54:54 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: camlidl-1.05-r1.ebuild |
5 |
Log: |
6 |
Install a META file, bug #482016 by Matthew Maurer. EAPI5, define subslot and add := dep on ocaml |
7 |
|
8 |
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 160F534A) |
9 |
|
10 |
Revision Changes Path |
11 |
1.7 dev-ml/camlidl/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/camlidl/ChangeLog?rev=1.7&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/camlidl/ChangeLog?rev=1.7&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/camlidl/ChangeLog?r1=1.6&r2=1.7 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-ml/camlidl/ChangeLog,v |
20 |
retrieving revision 1.6 |
21 |
retrieving revision 1.7 |
22 |
diff -u -r1.6 -r1.7 |
23 |
--- ChangeLog 25 Feb 2010 18:56:05 -0000 1.6 |
24 |
+++ ChangeLog 27 Aug 2013 16:54:54 -0000 1.7 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for dev-ml/camlidl |
27 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlidl/ChangeLog,v 1.6 2010/02/25 18:56:05 zmedico Exp $ |
29 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlidl/ChangeLog,v 1.7 2013/08/27 16:54:54 aballier Exp $ |
31 |
+ |
32 |
+*camlidl-1.05-r1 (27 Aug 2013) |
33 |
+ |
34 |
+ 27 Aug 2013; Alexis Ballier <aballier@g.o> +camlidl-1.05-r1.ebuild, |
35 |
+ +files/META.camlidl: |
36 |
+ Install a META file, bug #482016 by Matthew Maurer. EAPI5, define subslot and |
37 |
+ add := dep on ocaml |
38 |
|
39 |
25 Feb 2010; Zac Medico <zmedico@g.o> camlidl-1.05.ebuild: |
40 |
Bug #306677 - Fix invalid conditional USE dep. |
41 |
|
42 |
|
43 |
|
44 |
1.1 dev-ml/camlidl/camlidl-1.05-r1.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/camlidl/camlidl-1.05-r1.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/camlidl/camlidl-1.05-r1.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: camlidl-1.05-r1.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2013 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlidl/camlidl-1.05-r1.ebuild,v 1.1 2013/08/27 16:54:54 aballier Exp $ |
54 |
|
55 |
EAPI=5 |
56 |
|
57 |
inherit eutils toolchain-funcs |
58 |
|
59 |
DESCRIPTION="CamlIDL is a stub code generator for using C/C++ libraries from O'Caml" |
60 |
HOMEPAGE="http://caml.inria.fr/camlidl/" |
61 |
SRC_URI="http://caml.inria.fr/distrib/bazar-ocaml/${P}.tar.gz" |
62 |
LICENSE="QPL-1.0 LGPL-2" |
63 |
SLOT="0/${PV}" |
64 |
KEYWORDS="~amd64 ~ppc ~x86" |
65 |
IUSE="" |
66 |
DEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt]" |
67 |
RDEPEND="${DEPEND}" |
68 |
|
69 |
src_prepare() { |
70 |
epatch "${FILESDIR}/tests.patch" |
71 |
epatch "${FILESDIR}/includes.patch" |
72 |
} |
73 |
|
74 |
src_compile() { |
75 |
# Use the UNIX makefile |
76 |
libdir=`ocamlc -where` |
77 |
sed -i -e "s|OCAMLLIB=.*|OCAMLLIB=${libdir}|" config/Makefile.unix |
78 |
sed -i -e "s|BINDIR=.*|BINDIR=/usr/bin|" config/Makefile.unix |
79 |
ln -s Makefile.unix config/Makefile |
80 |
|
81 |
# Make |
82 |
emake -j1 |
83 |
} |
84 |
|
85 |
src_test() { |
86 |
einfo "Running tests..." |
87 |
cd tests |
88 |
emake CCPP="$(tc-getCXX)" |
89 |
} |
90 |
|
91 |
src_install() { |
92 |
libdir=`ocamlc -where` |
93 |
dodir ${libdir}/caml |
94 |
dodir /usr/bin |
95 |
# Install |
96 |
emake BINDIR="${ED}/usr/bin" OCAMLLIB="${ED}${libdir}" install |
97 |
|
98 |
# Add package header |
99 |
sed -e "s/@VERSION/${P}/g" "${FILESDIR}/META.camlidl" > "${ED}${libdir}/META.camlidl" || die |
100 |
|
101 |
# Documentation |
102 |
dodoc README Changes |
103 |
} |