summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2012-02-23 20:30:06 +0000
committerAlexis Ballier <aballier@gentoo.org>2012-02-23 20:30:06 +0000
commit6449338ef92f1dc81406f0a5924332034107b19f (patch)
treec3ff0486bd5796f5ee8e42c1e2223ec9009f5e2f /dev-ml
parentVersion bump and clean up library install #403105 by David. (diff)
downloadhistorical-6449338ef92f1dc81406f0a5924332034107b19f.tar.gz
historical-6449338ef92f1dc81406f0a5924332034107b19f.tar.bz2
historical-6449338ef92f1dc81406f0a5924332034107b19f.zip
version bump
Package-Manager: portage-2.2.0_alpha89/cvs/Linux x86_64
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/ocamlnet/ChangeLog9
-rw-r--r--dev-ml/ocamlnet/Manifest10
-rw-r--r--dev-ml/ocamlnet/ocamlnet-3.5.ebuild75
3 files changed, 88 insertions, 6 deletions
diff --git a/dev-ml/ocamlnet/ChangeLog b/dev-ml/ocamlnet/ChangeLog
index ccc104e4e768..a14011a1a59c 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.54 2011/11/02 15:05:41 aballier Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ChangeLog,v 1.55 2012/02/23 20:30:06 aballier Exp $
+
+*ocamlnet-3.5 (23 Feb 2012)
+
+ 23 Feb 2012; Alexis Ballier <aballier@gentoo.org> +ocamlnet-3.5.ebuild:
+ version bump
*ocamlnet-3.4.1 (02 Nov 2011)
diff --git a/dev-ml/ocamlnet/Manifest b/dev-ml/ocamlnet/Manifest
index 27bb36483e79..ed8bbb462bf8 100644
--- a/dev-ml/ocamlnet/Manifest
+++ b/dev-ml/ocamlnet/Manifest
@@ -9,18 +9,20 @@ DIST ocamlnet-3.3.3.tar.gz 3123945 RMD160 df1c8856a8e8f30a0638a976a208dd311c33b9
DIST ocamlnet-3.3.7.tar.gz 3168003 RMD160 5c597882e8ecbdd7d25d55f3f7cb045cc70ee9ae SHA1 32ba2e718c61f3017ff2fe499b6f7c557f8ca5c1 SHA256 b2161f6dc8a61f58d12222e4239f6709ae60de338a30f4f088c150fa02f07f85
DIST ocamlnet-3.4.1.tar.gz 3195528 RMD160 d55d84834549c9a0b32d9e5609cdf5df44e57ef1 SHA1 1359380351c2049325d4629fc837d543477bc28e SHA256 c8e802fc1ffdb4f1e9a74dfa274b2baf0e909ef3038384add7e3c573616a19a8
DIST ocamlnet-3.4.tar.gz 3191853 RMD160 90baea35fc4ea37db6a3a611408fc676afc216f4 SHA1 2eed08e68175089f6bba4732aa99fc07843c7c92 SHA256 b08f98c7657fe2e85f0208212fd85be664e1d53d355daa34bb6db783206ac385
+DIST ocamlnet-3.5.tar.gz 3290489 RMD160 150b8aa3557b2fe96842273cd99e4eb7211f8e6a SHA1 c984c62861a7f3ba2dcef7fa3a29c7fa3cf36828 SHA256 bf509cdbfefa7cead1676131c41f22ea0aa516b8ade57a7d961cde9a1cb623f1
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
EBUILD ocamlnet-3.4.1.ebuild 1767 RMD160 258f128ee2aa58734f6683753e1855bad5ff9f8f SHA1 7658b0f83425453a6f217ce0dc112c9cbd39ca72 SHA256 ac0e603be26314aa1db7ba3f68e6715208faa937937bce0a1d48c6a08629e401
EBUILD ocamlnet-3.4.ebuild 1765 RMD160 752d3766a79a88a7e1fef7c9d36828394cbdaea3 SHA1 d06bcb990a02895c463ea53762bd9c883ddd756b SHA256 5a93dc9ef352d5d63c4e687094c3c89495e980ce588e958f795f0b41580a54f0
-MISC ChangeLog 7002 RMD160 d353b69e3ae71cfa0b47a88b362b2dbffd20228e SHA1 4855feec1996be4bd85b84779ac26aa8525c2135 SHA256 970409915d9b709716ba27e4d3bf1d0eee6fc5d61d24e22b71bec6c89d9773ee
+EBUILD ocamlnet-3.5.ebuild 1765 RMD160 9d94702830bd7e0b69505e92d00a61b4ceb18766 SHA1 eb91fe3d9e689e3334a0a31dde4899a226ba8961 SHA256 78bd38a7acd9a5b0bd0566051f1c07c375a6b5bf1d19490ef69c6fd8e1c50438
+MISC ChangeLog 7121 RMD160 3c7c7480a0931fb3706cd24599a112cc544c2f8c SHA1 67750e34eb03846b3d5c431475dc240e6674b79e SHA256 23fe934422d28ef7e6f2a4e6ce6845e452eef13baaac7151d01bae1f3595c78c
MISC metadata.xml 419 RMD160 1ccd28e42a80f3946a2b7d36fa5bfe0eb411520c SHA1 58a3938bf84b282b5d6ffccb9c1ee8964d05aed6 SHA256 b8b5005c86a12de781987f6a36917a635b46469a5ef497d6fec80e3d8737e7fb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEARECAAYFAk6xXEsACgkQvFcC4BYPU0oOKACgncu8bxdM1/uSSnt7lOUmivTJ
-XgMAoJ+JilImSk0QygYoRG9yGqGpYMX5
-=mF0h
+iEYEARECAAYFAk9GodQACgkQvFcC4BYPU0qiMQCfZNQWp6Ymt6NRgrZgO21FSQe1
+bsMAn0b0CdzP7+3SRqJXwUIUBJsZ5Buq
+=Qznk
-----END PGP SIGNATURE-----
diff --git a/dev-ml/ocamlnet/ocamlnet-3.5.ebuild b/dev-ml/ocamlnet/ocamlnet-3.5.ebuild
new file mode 100644
index 000000000000..0034a66a1a12
--- /dev/null
+++ b/dev-ml/ocamlnet/ocamlnet-3.5.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ocamlnet-3.5.ebuild,v 1.1 2012/02/23 20:30:06 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
+}