From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ml/ocamlnet: ChangeLog ocamlnet-4.0.4.ebuild |
Date: | Mon, 29 Jun 2015 09:07:06 |
Message-Id: | 20150629090644.60547749@oystercatcher.gentoo.org |
1 | aballier 15/06/29 09:06:44 |
2 | |
3 | Modified: ChangeLog |
4 | Added: ocamlnet-4.0.4.ebuild |
5 | Log: |
6 | version bump |
7 | |
8 | Signed-off-by: Alexis Ballier <aballier@g.o> |
9 | (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 160F534A) |
10 | |
11 | Revision Changes Path |
12 | 1.92 dev-ml/ocamlnet/ChangeLog |
13 | |
14 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlnet/ChangeLog?rev=1.92&view=markup |
15 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlnet/ChangeLog?rev=1.92&content-type=text/plain |
16 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlnet/ChangeLog?r1=1.91&r2=1.92 |
17 | |
18 | Index: ChangeLog |
19 | =================================================================== |
20 | RCS file: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ChangeLog,v |
21 | retrieving revision 1.91 |
22 | retrieving revision 1.92 |
23 | diff -u -r1.91 -r1.92 |
24 | --- ChangeLog 29 Apr 2015 14:54:33 -0000 1.91 |
25 | +++ ChangeLog 29 Jun 2015 09:06:44 -0000 1.92 |
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.91 2015/04/29 14:54:33 aballier Exp $ |
30 | +# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ChangeLog,v 1.92 2015/06/29 09:06:44 aballier Exp $ |
31 | + |
32 | +*ocamlnet-4.0.4 (29 Jun 2015) |
33 | + |
34 | + 29 Jun 2015; Alexis Ballier <aballier@g.o> +ocamlnet-4.0.4.ebuild: |
35 | + version bump |
36 | |
37 | *ocamlnet-4.0.3 (29 Apr 2015) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 dev-ml/ocamlnet/ocamlnet-4.0.4.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlnet/ocamlnet-4.0.4.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlnet/ocamlnet-4.0.4.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: ocamlnet-4.0.4.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.4.ebuild,v 1.1 2015/06/29 09:06:44 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 | } |