summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2011-08-06 09:46:27 +0000
committerAlexis Ballier <aballier@gentoo.org>2011-08-06 09:46:27 +0000
commit6370a77fa41caaea02ea3595fd0b3b6b1c641959 (patch)
tree88b6a29b094de1f827718712d4e51a85551396c8
parentFix for prefix and add ~x86-linux keyword. (diff)
downloadhistorical-6370a77fa41caaea02ea3595fd0b3b6b1c641959.tar.gz
historical-6370a77fa41caaea02ea3595fd0b3b6b1c641959.tar.bz2
historical-6370a77fa41caaea02ea3595fd0b3b6b1c641959.zip
version bump
Package-Manager: portage-2.2.0_alpha50/cvs/Linux x86_64
-rw-r--r--dev-ml/ocamlnet/ChangeLog7
-rw-r--r--dev-ml/ocamlnet/Manifest10
-rw-r--r--dev-ml/ocamlnet/ocamlnet-3.3.7.ebuild75
3 files changed, 87 insertions, 5 deletions
diff --git a/dev-ml/ocamlnet/ChangeLog b/dev-ml/ocamlnet/ChangeLog
index a8ea9eb1fbc6..d14d21fff6cc 100644
--- a/dev-ml/ocamlnet/ChangeLog
+++ b/dev-ml/ocamlnet/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ml/ocamlnet
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ChangeLog,v 1.51 2011/06/26 17:12:40 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ChangeLog,v 1.52 2011/08/06 09:46:27 aballier Exp $
+
+*ocamlnet-3.3.7 (06 Aug 2011)
+
+ 06 Aug 2011; Alexis Ballier <aballier@gentoo.org> +ocamlnet-3.3.7.ebuild:
+ version bump
26 Jun 2011; Alexis Ballier <aballier@gentoo.org>
-ocamlnet-3.3.0_beta1.ebuild:
diff --git a/dev-ml/ocamlnet/Manifest b/dev-ml/ocamlnet/Manifest
index 260273383cc6..2ee76c0be173 100644
--- a/dev-ml/ocamlnet/Manifest
+++ b/dev-ml/ocamlnet/Manifest
@@ -6,15 +6,17 @@ 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.2.1.tar.gz 2732852 RMD160 dba1ac7005a6d0ae03a4dacf37f13eee55f3cfce SHA1 69bb8228ea5f8f7f258991b04196a555afe12e88 SHA256 3d68a178c172e2e68fbe0527b4224a07f5f61722515c7cecb1d77b1a96436ef0
DIST ocamlnet-3.3.3.tar.gz 3123945 RMD160 df1c8856a8e8f30a0638a976a208dd311c33b9a3 SHA1 23234ccbc3522b833029ae873730b876b73a3638 SHA256 e7f93a2490f29c065157a2a711be7251066cf4ce035f27114b9d09d0cbdd950a
+DIST ocamlnet-3.3.7.tar.gz 3168003 RMD160 5c597882e8ecbdd7d25d55f3f7cb045cc70ee9ae SHA1 32ba2e718c61f3017ff2fe499b6f7c557f8ca5c1 SHA256 b2161f6dc8a61f58d12222e4239f6709ae60de338a30f4f088c150fa02f07f85
EBUILD ocamlnet-2.2.9-r1.ebuild 1633 RMD160 3f5062d71a785117681a9ba5766bea0db0095a17 SHA1 ee0ab29b9e61abd35ddcf455a3b0de84992a491b SHA256 3278ac58abcf655aa9ab3ff4c2c8c1aeff58be82867db51af6290bb3a48221e6
EBUILD ocamlnet-3.2.1.ebuild 1631 RMD160 79fe7505c4aec0602cd462ca48d8b00d404446ee SHA1 bbab147e4920c7b2a41976f6b198ca18141abf33 SHA256 b6a1564f0f8d83cc6346b6070e0bd3f88d4163684793a3e81b685ae7f03525ac
EBUILD ocamlnet-3.3.3.ebuild 1767 RMD160 93eae619fdc032807f1252241156e1c5232c063a SHA1 5881d021831a154feccd5fcb1c072a2bdb4b4d2c SHA256 ee9a4cc62e1db92277f1c7a0f4d76bfacbfbb3e9a8cc15d529856bbb1ccb0944
-MISC ChangeLog 6637 RMD160 54438226082e5de8c86273174745e7235b6075f4 SHA1 40734d8f27d8250df293408f49c2f80dfc5befee SHA256 1b285716892dc7e852877f720c81da1912d8b451c369f7c48e77ab832a07bc65
+EBUILD ocamlnet-3.3.7.ebuild 1767 RMD160 624c54723e471ddd1c7c05b45a03df9d44d148bf SHA1 178348085bab997aa04fa9c372b77330cc7a631d SHA256 c4c0f158890de0cf46f63cfc3abc676ccfc7409c800e42351a5bb575643084d9
+MISC ChangeLog 6760 RMD160 5e61aaee555ef3cb9c63d289657d9c4ba5bf2fbc SHA1 13c51d1552b220473309c7a5aab8304a853570f9 SHA256 43e640f508795d915750a743626501c0a507336fc6c1d438bbe92f4de1b61af2
MISC metadata.xml 419 RMD160 1ccd28e42a80f3946a2b7d36fa5bfe0eb411520c SHA1 58a3938bf84b282b5d6ffccb9c1ee8964d05aed6 SHA256 b8b5005c86a12de781987f6a36917a635b46469a5ef497d6fec80e3d8737e7fb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk4HaI0ACgkQvFcC4BYPU0oJUQCbBNWucBURwFE8riyRPzA57AMt
-AtcAoMQiT1RdNAe/XkfOCZk1WjZjCxlE
-=q8/a
+iEYEARECAAYFAk49DXkACgkQvFcC4BYPU0ouVACgtfYxQHwmnmT7s2gAqKeVQ+xo
+LToAnAgNQRoFvLwvk7CzeTrfUtbtD2Fl
+=ngMj
-----END PGP SIGNATURE-----
diff --git a/dev-ml/ocamlnet/ocamlnet-3.3.7.ebuild b/dev-ml/ocamlnet/ocamlnet-3.3.7.ebuild
new file mode 100644
index 000000000000..ee3cdad3f6b2
--- /dev/null
+++ b/dev-ml/ocamlnet/ocamlnet-3.3.7.ebuild
@@ -0,0 +1,75 @@
+# 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.3.7.ebuild,v 1.1 2011/08/06 09:46:27 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 ~x86 ~x86-fbsd"
+IUSE="cryptokit gtk ssl tk httpd +ocamlopt +pcre 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
+ pcre? ( >=dev-ml/pcre-ocaml-5 )
+ >=dev-lang/ocaml-3.10.2[tk?,ocamlopt?]
+ cryptokit? ( dev-ml/cryptokit )
+ 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 cryptokit crypto) \
+ $(ocamlnet_use_enable gtk gtk2) \
+ $(ocamlnet_use_enable pcre pcre) \
+ $(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
+}