Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ml/ocamlnet: ocamlnet-4.0.2.ebuild ChangeLog
Date: Mon, 02 Mar 2015 10:49:32
Message-Id: 20150302104929.59D6812DF2@oystercatcher.gentoo.org
1 aballier 15/03/02 10:49:29
2
3 Modified: ChangeLog
4 Added: ocamlnet-4.0.2.ebuild
5 Log:
6 version bump
7
8 Signed-off-by: aballier@g.o
9 (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
10
11 Revision Changes Path
12 1.89 dev-ml/ocamlnet/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlnet/ChangeLog?rev=1.89&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlnet/ChangeLog?rev=1.89&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlnet/ChangeLog?r1=1.88&r2=1.89
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ChangeLog,v
21 retrieving revision 1.88
22 retrieving revision 1.89
23 diff -u -r1.88 -r1.89
24 --- ChangeLog 25 Feb 2015 15:35:21 -0000 1.88
25 +++ ChangeLog 2 Mar 2015 10:49:29 -0000 1.89
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.88 2015/02/25 15:35:21 ago Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ChangeLog,v 1.89 2015/03/02 10:49:29 aballier Exp $
31 +
32 +*ocamlnet-4.0.2 (02 Mar 2015)
33 +
34 + 02 Mar 2015; Alexis Ballier <aballier@g.o> +ocamlnet-4.0.2.ebuild:
35 + version bump
36
37 25 Feb 2015; Agostino Sarubbo <ago@g.o> ocamlnet-3.7.7.ebuild:
38 Stable for x86, wrt bug #535130
39
40
41
42 1.1 dev-ml/ocamlnet/ocamlnet-4.0.2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlnet/ocamlnet-4.0.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlnet/ocamlnet-4.0.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: ocamlnet-4.0.2.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.2.ebuild,v 1.1 2015/03/02 10:49:29 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 }