From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ml/ocamlnet: ocamlnet-3.4.1.ebuild ChangeLog |
Date: | Wed, 02 Nov 2011 15:05:51 |
Message-Id: | 20111102150541.B2C682004B@flycatcher.gentoo.org |
1 | aballier 11/11/02 15:05:41 |
2 | |
3 | Modified: ChangeLog |
4 | Added: ocamlnet-3.4.1.ebuild |
5 | Log: |
6 | version bump |
7 | |
8 | (Portage version: 2.2.0_alpha72/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.54 dev-ml/ocamlnet/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlnet/ChangeLog?rev=1.54&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlnet/ChangeLog?rev=1.54&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlnet/ChangeLog?r1=1.53&r2=1.54 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ChangeLog,v |
20 | retrieving revision 1.53 |
21 | retrieving revision 1.54 |
22 | diff -u -r1.53 -r1.54 |
23 | --- ChangeLog 9 Sep 2011 15:25:49 -0000 1.53 |
24 | +++ ChangeLog 2 Nov 2011 15:05:41 -0000 1.54 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-ml/ocamlnet |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ChangeLog,v 1.53 2011/09/09 15:25:49 aballier Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ChangeLog,v 1.54 2011/11/02 15:05:41 aballier Exp $ |
30 | + |
31 | +*ocamlnet-3.4.1 (02 Nov 2011) |
32 | + |
33 | + 02 Nov 2011; Alexis Ballier <aballier@g.o> +ocamlnet-3.4.1.ebuild: |
34 | + version bump |
35 | |
36 | *ocamlnet-3.4 (09 Sep 2011) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 dev-ml/ocamlnet/ocamlnet-3.4.1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlnet/ocamlnet-3.4.1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlnet/ocamlnet-3.4.1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: ocamlnet-3.4.1.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2011 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.4.1.ebuild,v 1.1 2011/11/02 15:05:41 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 ~x86 ~x86-fbsd" |
64 | IUSE="cryptokit gtk ssl tk httpd +ocamlopt +pcre 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 | pcre? ( >=dev-ml/pcre-ocaml-5 ) |
72 | >=dev-lang/ocaml-3.10.2[tk?,ocamlopt?] |
73 | cryptokit? ( dev-ml/cryptokit ) |
74 | gtk? ( >=dev-ml/lablgtk-2 ) |
75 | ssl? ( >=dev-ml/ocaml-ssl-0.4 ) |
76 | zip? ( dev-ml/camlzip ) |
77 | " |
78 | RDEPEND="${DEPEND}" |
79 | |
80 | S=${WORKDIR}/${MY_P} |
81 | |
82 | ocamlnet_use_with() { |
83 | if use $1; then |
84 | echo "-with-$2" |
85 | else |
86 | echo "-without-$2" |
87 | fi |
88 | } |
89 | |
90 | ocamlnet_use_enable() { |
91 | if use $1; then |
92 | echo "-enable-$2" |
93 | else |
94 | echo "-disable-$2" |
95 | fi |
96 | } |
97 | |
98 | src_configure() { |
99 | ./configure \ |
100 | -bindir /usr/bin \ |
101 | -datadir /usr/share/${PN} \ |
102 | $(ocamlnet_use_enable cryptokit crypto) \ |
103 | $(ocamlnet_use_enable gtk gtk2) \ |
104 | $(ocamlnet_use_enable pcre pcre) \ |
105 | $(ocamlnet_use_enable ssl ssl) \ |
106 | $(ocamlnet_use_enable tk tcl) \ |
107 | $(ocamlnet_use_enable zip zip) \ |
108 | $(ocamlnet_use_with httpd nethttpd) \ |
109 | || die "Error : econf failed!" |
110 | } |
111 | |
112 | src_compile() { |
113 | emake -j1 all || die "make failed" |
114 | if use ocamlopt; then |
115 | emake -j1 opt || die "make failed" |
116 | fi |
117 | } |
118 | |
119 | src_install() { |
120 | export STRIP_MASK="*/bin/*" |
121 | findlib_src_install |
122 | } |