1 |
aballier 10/11/24 15:09:11 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: ocamlnet-3.1.ebuild |
5 |
Log: |
6 |
version bump |
7 |
|
8 |
(Portage version: 2.2.0_alpha4/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.43 dev-ml/ocamlnet/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlnet/ChangeLog?rev=1.43&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlnet/ChangeLog?rev=1.43&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlnet/ChangeLog?r1=1.42&r2=1.43 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ChangeLog,v |
20 |
retrieving revision 1.42 |
21 |
retrieving revision 1.43 |
22 |
diff -u -r1.42 -r1.43 |
23 |
--- ChangeLog 7 Nov 2010 16:58:28 -0000 1.42 |
24 |
+++ ChangeLog 24 Nov 2010 15:09:11 -0000 1.43 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-ml/ocamlnet |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ChangeLog,v 1.42 2010/11/07 16:58:28 aballier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ChangeLog,v 1.43 2010/11/24 15:09:11 aballier Exp $ |
30 |
+ |
31 |
+*ocamlnet-3.1 (24 Nov 2010) |
32 |
+ |
33 |
+ 24 Nov 2010; Alexis Ballier <aballier@g.o> +ocamlnet-3.1.ebuild: |
34 |
+ version bump |
35 |
|
36 |
07 Nov 2010; Alexis Ballier <aballier@g.o> |
37 |
-ocamlnet-3.0_beta1.ebuild, -ocamlnet-3.0_beta2.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-ml/ocamlnet/ocamlnet-3.1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlnet/ocamlnet-3.1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlnet/ocamlnet-3.1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: ocamlnet-3.1.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-ml/ocamlnet/ocamlnet-3.1.ebuild,v 1.1 2010/11/24 15:09:11 aballier Exp $ |
51 |
|
52 |
EAPI="2" |
53 |
|
54 |
inherit eutils findlib |
55 |
|
56 |
MY_P=${P/_beta/test} |
57 |
DESCRIPTION="Modules for OCaml application-level Internet protocols" |
58 |
HOMEPAGE="http://projects.camlcity.org/projects/ocamlnet.html" |
59 |
SRC_URI="http://download.camlcity.org/download/${MY_P}.tar.gz" |
60 |
|
61 |
LICENSE="as-is GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" |
64 |
IUSE="gtk ssl tk httpd +ocamlopt zip" |
65 |
RESTRICT="installsources" |
66 |
|
67 |
# the auth-dh compile flag has been disabled as well, since it depends on |
68 |
# ocaml-cryptgps, which is not available. |
69 |
|
70 |
DEPEND=">=dev-ml/findlib-1.0 |
71 |
>=dev-ml/pcre-ocaml-5 |
72 |
>=dev-lang/ocaml-3.10.2[tk?,ocamlopt?] |
73 |
gtk? ( >=dev-ml/lablgtk-2 ) |
74 |
ssl? ( >=dev-ml/ocaml-ssl-0.4 ) |
75 |
zip? ( dev-ml/camlzip ) |
76 |
" |
77 |
RDEPEND="${DEPEND}" |
78 |
|
79 |
S=${WORKDIR}/${MY_P} |
80 |
|
81 |
ocamlnet_use_with() { |
82 |
if use $1; then |
83 |
echo "-with-$2" |
84 |
else |
85 |
echo "-without-$2" |
86 |
fi |
87 |
} |
88 |
|
89 |
ocamlnet_use_enable() { |
90 |
if use $1; then |
91 |
echo "-enable-$2" |
92 |
else |
93 |
echo "-disable-$2" |
94 |
fi |
95 |
} |
96 |
|
97 |
src_configure() { |
98 |
./configure \ |
99 |
-bindir /usr/bin \ |
100 |
-datadir /usr/share/${PN} \ |
101 |
$(ocamlnet_use_enable gtk gtk2) \ |
102 |
$(ocamlnet_use_enable ssl ssl) \ |
103 |
$(ocamlnet_use_enable tk tcl) \ |
104 |
$(ocamlnet_use_enable zip zip) \ |
105 |
$(ocamlnet_use_with httpd nethttpd) \ |
106 |
|| die "Error : econf failed!" |
107 |
} |
108 |
|
109 |
src_compile() { |
110 |
emake -j1 all || die "make failed" |
111 |
if use ocamlopt; then |
112 |
emake -j1 opt || die "make failed" |
113 |
fi |
114 |
} |
115 |
|
116 |
src_install() { |
117 |
export STRIP_MASK="*/bin/*" |
118 |
findlib_src_install |
119 |
} |