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