1 |
aballier 14/10/28 17:01:06 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: ocamlnet-3.7.7.ebuild |
5 |
Log: |
6 |
version bump |
7 |
|
8 |
Signed-off-by: aballier@g.o |
9 |
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 160F534A) |
10 |
|
11 |
Revision Changes Path |
12 |
1.83 dev-ml/ocamlnet/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlnet/ChangeLog?rev=1.83&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlnet/ChangeLog?rev=1.83&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlnet/ChangeLog?r1=1.82&r2=1.83 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ChangeLog,v |
21 |
retrieving revision 1.82 |
22 |
retrieving revision 1.83 |
23 |
diff -u -r1.82 -r1.83 |
24 |
--- ChangeLog 13 Mar 2014 20:39:47 -0000 1.82 |
25 |
+++ ChangeLog 28 Oct 2014 17:01:06 -0000 1.83 |
26 |
@@ -1,6 +1,11 @@ |
27 |
# ChangeLog for dev-ml/ocamlnet |
28 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ChangeLog,v 1.82 2014/03/13 20:39:47 aballier Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ChangeLog,v 1.83 2014/10/28 17:01:06 aballier Exp $ |
31 |
+ |
32 |
+*ocamlnet-3.7.7 (28 Oct 2014) |
33 |
+ |
34 |
+ 28 Oct 2014; Alexis Ballier <aballier@g.o> +ocamlnet-3.7.7.ebuild: |
35 |
+ version bump |
36 |
|
37 |
13 Mar 2014; Alexis Ballier <aballier@g.o> -ocamlnet-3.6.3.ebuild, |
38 |
-ocamlnet-3.6.5.ebuild, -ocamlnet-3.6.6.ebuild, |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-ml/ocamlnet/ocamlnet-3.7.7.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlnet/ocamlnet-3.7.7.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlnet/ocamlnet-3.7.7.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: ocamlnet-3.7.7.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2014 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ocamlnet-3.7.7.ebuild,v 1.1 2014/10/28 17:01:06 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="cryptokit gtk ssl tk httpd +ocamlopt +pcre 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 |
DEPEND=">=dev-ml/findlib-1.0 |
72 |
pcre? ( >=dev-ml/pcre-ocaml-5:= ) |
73 |
>=dev-lang/ocaml-3.10.2:=[tk?,ocamlopt?] |
74 |
cryptokit? ( dev-ml/cryptokit:= ) |
75 |
gtk? ( >=dev-ml/lablgtk-2:= ) |
76 |
ssl? ( >=dev-ml/ocaml-ssl-0.4:= ) |
77 |
zip? ( dev-ml/camlzip:= ) |
78 |
" |
79 |
RDEPEND="${DEPEND}" |
80 |
|
81 |
S=${WORKDIR}/${MY_P} |
82 |
|
83 |
ocamlnet_use_with() { |
84 |
if use $1; then |
85 |
echo "-with-$2" |
86 |
else |
87 |
echo "-without-$2" |
88 |
fi |
89 |
} |
90 |
|
91 |
ocamlnet_use_enable() { |
92 |
if use $1; then |
93 |
echo "-enable-$2" |
94 |
else |
95 |
echo "-disable-$2" |
96 |
fi |
97 |
} |
98 |
|
99 |
src_configure() { |
100 |
./configure \ |
101 |
-bindir /usr/bin \ |
102 |
-datadir /usr/share/${PN} \ |
103 |
$(ocamlnet_use_enable cryptokit crypto) \ |
104 |
$(ocamlnet_use_enable gtk gtk2) \ |
105 |
$(ocamlnet_use_enable pcre pcre) \ |
106 |
$(ocamlnet_use_enable ssl ssl) \ |
107 |
$(ocamlnet_use_enable tk tcl) \ |
108 |
$(ocamlnet_use_enable zip zip) \ |
109 |
$(ocamlnet_use_with httpd nethttpd) \ |
110 |
|| die "Error : econf failed!" |
111 |
} |
112 |
|
113 |
src_compile() { |
114 |
emake -j1 all |
115 |
if use ocamlopt; then |
116 |
emake -j1 opt |
117 |
fi |
118 |
} |
119 |
|
120 |
src_install() { |
121 |
export STRIP_MASK="*/bin/*" |
122 |
findlib_src_install |
123 |
} |