summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2011-09-09 15:25:49 +0000
committerAlexis Ballier <aballier@gentoo.org>2011-09-09 15:25:49 +0000
commitd43ba0dee0bcf34b57382be5b4925d69ed848bd6 (patch)
tree231a54f10c6afac0db01a397b7915a1090446b9e /dev-ml
parentRevision bump to punt libtool archive and static library. Punt older overshad... (diff)
downloadhistorical-d43ba0dee0bcf34b57382be5b4925d69ed848bd6.tar.gz
historical-d43ba0dee0bcf34b57382be5b4925d69ed848bd6.tar.bz2
historical-d43ba0dee0bcf34b57382be5b4925d69ed848bd6.zip
version bump
Package-Manager: portage-2.2.0_alpha54/cvs/Linux x86_64
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/ocamlnet/ChangeLog7
-rw-r--r--dev-ml/ocamlnet/Manifest12
-rw-r--r--dev-ml/ocamlnet/ocamlnet-3.4.ebuild75
3 files changed, 88 insertions, 6 deletions
diff --git a/dev-ml/ocamlnet/ChangeLog b/dev-ml/ocamlnet/ChangeLog
index d14d21fff6cc..e3bab4fa20bd 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.52 2011/08/06 09:46:27 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ChangeLog,v 1.53 2011/09/09 15:25:49 aballier Exp $
+
+*ocamlnet-3.4 (09 Sep 2011)
+
+ 09 Sep 2011; Alexis Ballier <aballier@gentoo.org> +ocamlnet-3.4.ebuild:
+ version bump
*ocamlnet-3.3.7 (06 Aug 2011)
diff --git a/dev-ml/ocamlnet/Manifest b/dev-ml/ocamlnet/Manifest
index 2ee76c0be173..f959a8f11740 100644
--- a/dev-ml/ocamlnet/Manifest
+++ b/dev-ml/ocamlnet/Manifest
@@ -7,16 +7,18 @@ DIST ocamlnet-2.2.9.tar.gz 1877257 RMD160 1299e1316e0547171089b0caaa9deb13c4c67c
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
+DIST ocamlnet-3.4.tar.gz 3191853 RMD160 90baea35fc4ea37db6a3a611408fc676afc216f4 SHA1 2eed08e68175089f6bba4732aa99fc07843c7c92 SHA256 b08f98c7657fe2e85f0208212fd85be664e1d53d355daa34bb6db783206ac385
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
EBUILD ocamlnet-3.3.7.ebuild 1767 RMD160 624c54723e471ddd1c7c05b45a03df9d44d148bf SHA1 178348085bab997aa04fa9c372b77330cc7a631d SHA256 c4c0f158890de0cf46f63cfc3abc676ccfc7409c800e42351a5bb575643084d9
-MISC ChangeLog 6760 RMD160 5e61aaee555ef3cb9c63d289657d9c4ba5bf2fbc SHA1 13c51d1552b220473309c7a5aab8304a853570f9 SHA256 43e640f508795d915750a743626501c0a507336fc6c1d438bbe92f4de1b61af2
+EBUILD ocamlnet-3.4.ebuild 1765 RMD160 752d3766a79a88a7e1fef7c9d36828394cbdaea3 SHA1 d06bcb990a02895c463ea53762bd9c883ddd756b SHA256 5a93dc9ef352d5d63c4e687094c3c89495e980ce588e958f795f0b41580a54f0
+MISC ChangeLog 6879 RMD160 417a3682f2cf26aa2da9c8da4bc4ad32a43d2be7 SHA1 6d695b0614675e01911aa43ad44fdc62fbab7e82 SHA256 a7a883d546518a6c378b19c665d64f7f025bf0b91f921ba6158cd17d221926d6
MISC metadata.xml 419 RMD160 1ccd28e42a80f3946a2b7d36fa5bfe0eb411520c SHA1 58a3938bf84b282b5d6ffccb9c1ee8964d05aed6 SHA256 b8b5005c86a12de781987f6a36917a635b46469a5ef497d6fec80e3d8737e7fb
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEARECAAYFAk49DXkACgkQvFcC4BYPU0ouVACgtfYxQHwmnmT7s2gAqKeVQ+xo
-LToAnAgNQRoFvLwvk7CzeTrfUtbtD2Fl
-=ngMj
+iEYEARECAAYFAk5qMAIACgkQvFcC4BYPU0pTxACcCznv78UIMvR9YEBekRthwgZi
+l8AAniXfmmwfxXoplrLRthRTJoKXEzy/
+=a5si
-----END PGP SIGNATURE-----
diff --git a/dev-ml/ocamlnet/ocamlnet-3.4.ebuild b/dev-ml/ocamlnet/ocamlnet-3.4.ebuild
new file mode 100644
index 000000000000..6ec5203ff3fe
--- /dev/null
+++ b/dev-ml/ocamlnet/ocamlnet-3.4.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.4.ebuild,v 1.1 2011/09/09 15:25: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 ~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
+}