summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2010-03-09 23:17:07 +0000
committerAlexis Ballier <aballier@gentoo.org>2010-03-09 23:17:07 +0000
commitde14475c44cc5233add3df8b2da8a4600c70b08c (patch)
tree21e6ac4ac84f9ebb5b211095b8a5dd74fdf448bf /dev-ml
parentAdd doc useflag to make install the manpage optional (diff)
downloadhistorical-de14475c44cc5233add3df8b2da8a4600c70b08c.tar.gz
historical-de14475c44cc5233add3df8b2da8a4600c70b08c.tar.bz2
historical-de14475c44cc5233add3df8b2da8a4600c70b08c.zip
version bump
Package-Manager: portage-2.2_rc66/cvs/Linux x86_64
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/ocamlnet/ChangeLog10
-rw-r--r--dev-ml/ocamlnet/Manifest12
-rw-r--r--dev-ml/ocamlnet/ocamlnet-3.0_beta2.ebuild72
3 files changed, 87 insertions, 7 deletions
diff --git a/dev-ml/ocamlnet/ChangeLog b/dev-ml/ocamlnet/ChangeLog
index 3d9ab0b1bb28..98be5a5d73c0 100644
--- a/dev-ml/ocamlnet/ChangeLog
+++ b/dev-ml/ocamlnet/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ml/ocamlnet
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ChangeLog,v 1.39 2009/11/14 11:08:00 aballier Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ChangeLog,v 1.40 2010/03/09 23:17:07 aballier Exp $
+
+*ocamlnet-3.0_beta2 (09 Mar 2010)
+
+ 09 Mar 2010; Alexis Ballier <aballier@gentoo.org>
+ +ocamlnet-3.0_beta2.ebuild:
+ version bump
*ocamlnet-3.0_beta1 (14 Nov 2009)
diff --git a/dev-ml/ocamlnet/Manifest b/dev-ml/ocamlnet/Manifest
index dd4ab81cb43a..f9c0b8cc0d5f 100644
--- a/dev-ml/ocamlnet/Manifest
+++ b/dev-ml/ocamlnet/Manifest
@@ -5,14 +5,16 @@ AUX build_w_camlp5.dpatch 7584 RMD160 53e5def4617442a232ef146884c25c35067c9ef8 S
AUX ocamlnet-2.2.9-glibc28.patch 367 RMD160 99d07978b0dddd5f4a7f36d88caf8a0a6364aca2 SHA1 c811c63f9f10126bff21f20ccc4476b43f001e61 SHA256 e266efc15186d88542fbdfe1ddc6500b9bd07c707c3b0b78911e1142d7828762
DIST ocamlnet-2.2.9.tar.gz 1877257 RMD160 1299e1316e0547171089b0caaa9deb13c4c67c31 SHA1 ca073c60f86fede60d4c479e5589127010482804 SHA256 134530a4357879e095bdbbb5f21f78634a16ef4d787eb151676b7fee7e4c0dc9
DIST ocamlnet-3.0test1.tar.gz 2283705 RMD160 82457504159e72a994f92b0aa9356ee0a6ea40bb SHA1 d2d2005d4231e625793253b06e38fde2a287f940 SHA256 1cde0715563b056501f65d1226c9fdbdf4260cd42681d915ccf5de59f378d299
+DIST ocamlnet-3.0test2.tar.gz 2487188 RMD160 d3196ed8ae57186659105e5d57cecdda505131e0 SHA1 d7b7b76ad4cb606f53b6457eb16be17348ada33d SHA256 ece88136166b91fc5387bdb7ffc24fc43af7897a91c20988339aeedaf34011dd
EBUILD ocamlnet-2.2.9-r1.ebuild 1633 RMD160 3f5062d71a785117681a9ba5766bea0db0095a17 SHA1 ee0ab29b9e61abd35ddcf455a3b0de84992a491b SHA256 3278ac58abcf655aa9ab3ff4c2c8c1aeff58be82867db51af6290bb3a48221e6
EBUILD ocamlnet-3.0_beta1.ebuild 1635 RMD160 f07351eea59ba87d3ae0b3fe7e54c5d7772d5079 SHA1 99b04b4bd5083f25d21540a3978bb8999e214338 SHA256 802386b6fb63bcb301885db44a2b3e67ebaff7aacafe8380d26e4b921414d2a0
-MISC ChangeLog 5170 RMD160 a9ddeae7f68c0419f363712845eaf12da0744070 SHA1 d19d08369ba7b33d283e5d1a3c321af1d372e80b SHA256 43f64b3915100703ee717753e939970f2a96c031e2fc8f1a632b29461fed573c
+EBUILD ocamlnet-3.0_beta2.ebuild 1635 RMD160 4e3f9c3123f0346453d0000e51b327e2881a5713 SHA1 d848f9671aef19ba5829c139324320c829b3474a SHA256 f90118a9e5f56825cb714fb92cc6197f757d44aba0e3f7d493ec2d5c1d6ea19e
+MISC ChangeLog 5303 RMD160 7008a75f5e326e91c523e540edcb321759a00a14 SHA1 28685b4f8c5deca45b4f90d5ccfaefabd3f72a80 SHA256 dde1eef43a0d81c6b27a71d892cd065f9f76de06bd734486ec79d7f65dca2deb
MISC metadata.xml 329 RMD160 671595a76989198aaab2de2fefffc3129649c7b2 SHA1 0b57c22cf6c33808b79d6b7d5b1456b8218d9f9c SHA256 299c9229ef86f9e948f0126eb542a18d5ffa76d9876fada7e093257d4f417bdb
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.13 (GNU/Linux)
+Version: GnuPG v2.0.14 (GNU/Linux)
-iEYEARECAAYFAkr+j54ACgkQvFcC4BYPU0rL3ACgoFz/EpdlKrz0VrLsq0gp/oxV
-Dc4An3U0sEUaDUy64EaYUFf+PPDKWsn0
-=tWcC
+iEYEARECAAYFAkuW1vkACgkQvFcC4BYPU0oDcACffsycbWQgbkmDuoBwyrnPK04C
+DtkAnA47R7a9yAMB6GptCWBuCA9MwdRk
+=W/em
-----END PGP SIGNATURE-----
diff --git a/dev-ml/ocamlnet/ocamlnet-3.0_beta2.ebuild b/dev-ml/ocamlnet/ocamlnet-3.0_beta2.ebuild
new file mode 100644
index 000000000000..63df4a9fdb58
--- /dev/null
+++ b/dev-ml/ocamlnet/ocamlnet-3.0_beta2.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ocamlnet-3.0_beta2.ebuild,v 1.1 2010/03/09 23:17:07 aballier Exp $
+
+EAPI="2"
+
+inherit eutils findlib
+
+MY_P=${P/_beta/test}
+DESCRIPTION="Modules for OCaml application-level Internet protocols"
+HOMEPAGE="http://projects.camlcity.org/projects/ocamlnet.html"
+SRC_URI="http://download.camlcity.org/download/${MY_P}.tar.gz"
+
+LICENSE="as-is GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE="gtk ssl tk httpd +ocamlopt zip"
+RESTRICT="installsources"
+
+# the auth-dh compile flag has been disabled as well, since it depends on
+# ocaml-cryptgps, which is not available.
+
+DEPEND=">=dev-ml/findlib-1.0
+ >=dev-ml/pcre-ocaml-5
+ >=dev-lang/ocaml-3.10.2[tk?,ocamlopt?]
+ gtk? ( >=dev-ml/lablgtk-2 )
+ ssl? ( >=dev-ml/ocaml-ssl-0.4 )
+ zip? ( dev-ml/camlzip )
+ "
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+ocamlnet_use_with() {
+ if use $1; then
+ echo "-with-$2"
+ else
+ echo "-without-$2"
+ fi
+}
+
+ocamlnet_use_enable() {
+ if use $1; then
+ echo "-enable-$2"
+ else
+ echo "-disable-$2"
+ fi
+}
+
+src_configure() {
+ ./configure \
+ -bindir /usr/bin \
+ -datadir /usr/share/${PN} \
+ $(ocamlnet_use_enable gtk gtk2) \
+ $(ocamlnet_use_enable ssl ssl) \
+ $(ocamlnet_use_enable tk tcl) \
+ $(ocamlnet_use_enable zip zip) \
+ $(ocamlnet_use_with httpd nethttpd) \
+ || die "Error : econf failed!"
+}
+
+src_compile() {
+ emake -j1 all || die "make failed"
+ if use ocamlopt; then
+ emake -j1 opt || die "make failed"
+ fi
+}
+
+src_install() {
+ export STRIP_MASK="*/bin/*"
+ findlib_src_install
+}