summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2011-02-22 13:59:49 +0000
committerAlexis Ballier <aballier@gentoo.org>2011-02-22 13:59:49 +0000
commit678d2813bc87095df50e9bb039e56b1577b93063 (patch)
tree392659f52c29663c4fcea0b2b6f06c90045a351f /dev-ml/ocamlnet
parentAdd version 0.70 (diff)
downloadhistorical-678d2813bc87095df50e9bb039e56b1577b93063.tar.gz
historical-678d2813bc87095df50e9bb039e56b1577b93063.tar.bz2
historical-678d2813bc87095df50e9bb039e56b1577b93063.zip
version bump
Package-Manager: portage-2.2.0_alpha24/cvs/Linux x86_64
Diffstat (limited to 'dev-ml/ocamlnet')
-rw-r--r--dev-ml/ocamlnet/ChangeLog9
-rw-r--r--dev-ml/ocamlnet/Manifest12
-rw-r--r--dev-ml/ocamlnet/ocamlnet-3.2.1.ebuild72
3 files changed, 86 insertions, 7 deletions
diff --git a/dev-ml/ocamlnet/ChangeLog b/dev-ml/ocamlnet/ChangeLog
index 6b9ecce73fc1..29998dc8b212 100644
--- a/dev-ml/ocamlnet/ChangeLog
+++ b/dev-ml/ocamlnet/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ml/ocamlnet
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ChangeLog,v 1.44 2010/12/23 15:56:11 aballier Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ChangeLog,v 1.45 2011/02/22 13:59:49 aballier Exp $
+
+*ocamlnet-3.2.1 (22 Feb 2011)
+
+ 22 Feb 2011; Alexis Ballier <aballier@gentoo.org> +ocamlnet-3.2.1.ebuild:
+ version bump
*ocamlnet-3.2 (23 Dec 2010)
diff --git a/dev-ml/ocamlnet/Manifest b/dev-ml/ocamlnet/Manifest
index 158040d0dee6..8625eed8d1ca 100644
--- a/dev-ml/ocamlnet/Manifest
+++ b/dev-ml/ocamlnet/Manifest
@@ -6,17 +6,19 @@ AUX ocamlnet-2.2.9-glibc28.patch 367 RMD160 99d07978b0dddd5f4a7f36d88caf8a0a6364
DIST ocamlnet-2.2.9.tar.gz 1877257 RMD160 1299e1316e0547171089b0caaa9deb13c4c67c31 SHA1 ca073c60f86fede60d4c479e5589127010482804 SHA256 134530a4357879e095bdbbb5f21f78634a16ef4d787eb151676b7fee7e4c0dc9
DIST ocamlnet-3.0.3.tar.gz 2562692 RMD160 66621f4221dd83a1ab1df1ff4332ab2a70ad05b1 SHA1 27820378252e146f7469537a604697ffdc92b02a SHA256 fff5c9fcd4018961f577a85be4df7f6cc25934b619db157588b2447c0b186155
DIST ocamlnet-3.1.tar.gz 2572525 RMD160 5573ec38f276d75bbec70ba40775c9505ff1d635 SHA1 3bdd27658693f56437cc9222b649d633738f4667 SHA256 c5a58d468c8aedc7854324373911468ba5ef33a75d26a9a0910435054811ac4d
+DIST ocamlnet-3.2.1.tar.gz 2732852 RMD160 dba1ac7005a6d0ae03a4dacf37f13eee55f3cfce SHA1 69bb8228ea5f8f7f258991b04196a555afe12e88 SHA256 3d68a178c172e2e68fbe0527b4224a07f5f61722515c7cecb1d77b1a96436ef0
DIST ocamlnet-3.2.tar.gz 2738302 RMD160 ad215cc168962ba2f169da8f2bc4a5f5a4870240 SHA1 48b1b6e2296a586a6ff0a1401075b65d5807415d SHA256 ad00a589833903ffe2b14c080b53502519c14fde61e4ef94184a1d89fa38f555
EBUILD ocamlnet-2.2.9-r1.ebuild 1633 RMD160 3f5062d71a785117681a9ba5766bea0db0095a17 SHA1 ee0ab29b9e61abd35ddcf455a3b0de84992a491b SHA256 3278ac58abcf655aa9ab3ff4c2c8c1aeff58be82867db51af6290bb3a48221e6
EBUILD ocamlnet-3.0.3.ebuild 1631 RMD160 3024dd5c5c9c8b818dae3f53b2f107fdaea36057 SHA1 6fd9160f01c5d421a012755953bdda5a3661847e SHA256 8c5f49579c304c8b6be0fb4e9557690ef1ba26f70b79f9b29d8e2122f430aa37
EBUILD ocamlnet-3.1.ebuild 1629 RMD160 4c63df0f3214d041b4adb68dcbaa99d18b67fc82 SHA1 06132dda65d3660bed9dab5a521581b562089a8f SHA256 295c125f4542d17ab98673c35cccc9db16d413b2b93d9f97df0f59b341d01354
+EBUILD ocamlnet-3.2.1.ebuild 1631 RMD160 d9e86d09782a866f23d4c8d84719851b048380d7 SHA1 3b33459aab65c74ea7119753ee9a4f19ecf1e670 SHA256 60520441fe584d8257d9ba80d3a7f644a6833b73f65b34dfa60fdf69128ce5ee
EBUILD ocamlnet-3.2.ebuild 1629 RMD160 32bdc9f6e0ced475345ea4a3aaab8fa00100ba28 SHA1 9e33cd71cc724710d7b0c9cdcfeac04e14662465 SHA256 8fafce63a26f3f5fab3581ddefb186f2df0b84315dd6753582e9e5860bd6fc7f
-MISC ChangeLog 5788 RMD160 00295f1c882dff147d8f7237de28a342a089acc1 SHA1 adcef79da7230e4b119fdb9d8cdaa8ff01b67509 SHA256 9cbb8b90707beded7af82460def43d6d096e1bb16af568d48ea92715aa3ca0d7
+MISC ChangeLog 5911 RMD160 9b226fed9fc8e3aecb7587579cd086b367cdc097 SHA1 bf7e9d1f4c47f69ccfbaa425df03f551b276ebf8 SHA256 11d0a5cd5eab8369b7c2d6663d0e9affaae0e673e38148ecb9475882e8ece40d
MISC metadata.xml 329 RMD160 671595a76989198aaab2de2fefffc3129649c7b2 SHA1 0b57c22cf6c33808b79d6b7d5b1456b8218d9f9c SHA256 299c9229ef86f9e948f0126eb542a18d5ffa76d9876fada7e093257d4f417bdb
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk0TcSEACgkQvFcC4BYPU0r8zgCgsXxoO43y/28Ia07pszB3/IvB
-GWoAmwfj8cEE44snwCwB/Oc6Uwq7VgsX
-=SV91
+iEYEARECAAYFAk1jwVsACgkQvFcC4BYPU0rtogCeP5csI1crS+sYlr1gYqKcgE/6
+eHcAn0cJHznNsd4E81DdbYGJSsg48psX
+=xnyM
-----END PGP SIGNATURE-----
diff --git a/dev-ml/ocamlnet/ocamlnet-3.2.1.ebuild b/dev-ml/ocamlnet/ocamlnet-3.2.1.ebuild
new file mode 100644
index 000000000000..1ef6507e0670
--- /dev/null
+++ b/dev-ml/ocamlnet/ocamlnet-3.2.1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ocamlnet-3.2.1.ebuild,v 1.1 2011/02/22 13:59:49 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
+}