1 |
aballier 11/02/22 15:10:34 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: bin-prot-1.3.0.ebuild |
5 |
Log: |
6 |
version bump, by Vladimir Ivanov <v.ivanov@×××××.com>, bug #355747, with small modifications by me |
7 |
|
8 |
(Portage version: 2.2.0_alpha24/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.8 dev-ml/bin-prot/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/bin-prot/ChangeLog?rev=1.8&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/bin-prot/ChangeLog?rev=1.8&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/bin-prot/ChangeLog?r1=1.7&r2=1.8 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-ml/bin-prot/ChangeLog,v |
20 |
retrieving revision 1.7 |
21 |
retrieving revision 1.8 |
22 |
diff -u -r1.7 -r1.8 |
23 |
--- ChangeLog 24 Dec 2010 17:39:49 -0000 1.7 |
24 |
+++ ChangeLog 22 Feb 2011 15:10:34 -0000 1.8 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-ml/bin-prot |
27 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/bin-prot/ChangeLog,v 1.7 2010/12/24 17:39:49 aballier Exp $ |
29 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/bin-prot/ChangeLog,v 1.8 2011/02/22 15:10:34 aballier Exp $ |
31 |
+ |
32 |
+*bin-prot-1.3.0 (22 Feb 2011) |
33 |
+ |
34 |
+ 22 Feb 2011; Alexis Ballier <aballier@g.o> +bin-prot-1.3.0.ebuild: |
35 |
+ version bump, by Vladimir Ivanov <v.ivanov@×××××.com>, bug #355747, with |
36 |
+ small modifications by me |
37 |
|
38 |
24 Dec 2010; Alexis Ballier <aballier@g.o> -bin-prot-1.2.23.ebuild: |
39 |
remove old |
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-ml/bin-prot/bin-prot-1.3.0.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/bin-prot/bin-prot-1.3.0.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/bin-prot/bin-prot-1.3.0.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: bin-prot-1.3.0.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2011 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-ml/bin-prot/bin-prot-1.3.0.ebuild,v 1.1 2011/02/22 15:10:34 aballier Exp $ |
53 |
|
54 |
EAPI=3 |
55 |
|
56 |
EAPI="2" |
57 |
|
58 |
inherit findlib eutils |
59 |
|
60 |
DESCRIPTION="A binary protocol generator" |
61 |
HOMEPAGE="http://ocaml.janestreet.com/?q=node/13" |
62 |
SRC_URI="http://www.janestreet.com/ocaml/bin_prot-${PV}.tar.gz" |
63 |
|
64 |
LICENSE="LGPL-2.1-linking-exception" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64" |
67 |
IUSE="debug doc +ocamlopt" |
68 |
|
69 |
RDEPEND=">=dev-lang/ocaml-3.11[ocamlopt?] |
70 |
dev-ml/findlib |
71 |
>=dev-ml/ounit-1.0.2 |
72 |
>=dev-ml/type-conv-2.0.1" |
73 |
DEPEND="${RDEPEND} |
74 |
>=dev-ml/ounit-1.0.2 |
75 |
doc? ( virtual/latex-base )" |
76 |
|
77 |
S=${WORKDIR}/${PN} |
78 |
|
79 |
oasis_use_enable() { |
80 |
echo "--override $2 `use $1 && echo \"true\" || echo \"false\"`" |
81 |
} |
82 |
|
83 |
src_configure() { |
84 |
./configure --prefix usr \ |
85 |
--libdir /usr/$(get_libdir) \ |
86 |
--destdir "${D}" \ |
87 |
$(oasis_use_enable debug debug) \ |
88 |
$(oasis_use_enable ocamlopt is_native) \ |
89 |
|| die |
90 |
} |
91 |
|
92 |
src_compile() { |
93 |
emake || die |
94 |
if use doc ; then |
95 |
cd "${S}/doc" |
96 |
pdflatex README || die |
97 |
pdflatex README || die |
98 |
fi |
99 |
} |
100 |
|
101 |
src_test() { |
102 |
LD_LIBRARY_PATH="${S}/_build/lib" emake test || die |
103 |
} |
104 |
|
105 |
src_install() { |
106 |
findlib_src_install |
107 |
|
108 |
dodoc README Changelog || die |
109 |
if use doc; then |
110 |
dodoc doc/README.pdf || die |
111 |
fi |
112 |
} |