diff options
-rw-r--r-- | dev-ml/ocamlnet/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ml/ocamlnet/Manifest | 10 | ||||
-rw-r--r-- | dev-ml/ocamlnet/ocamlnet-3.4.1.ebuild | 75 |
3 files changed, 87 insertions, 5 deletions
diff --git a/dev-ml/ocamlnet/ChangeLog b/dev-ml/ocamlnet/ChangeLog index e3bab4fa20bd..ccc104e4e768 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.53 2011/09/09 15:25:49 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ChangeLog,v 1.54 2011/11/02 15:05:41 aballier Exp $ + +*ocamlnet-3.4.1 (02 Nov 2011) + + 02 Nov 2011; Alexis Ballier <aballier@gentoo.org> +ocamlnet-3.4.1.ebuild: + version bump *ocamlnet-3.4 (09 Sep 2011) diff --git a/dev-ml/ocamlnet/Manifest b/dev-ml/ocamlnet/Manifest index f959a8f11740..27bb36483e79 100644 --- a/dev-ml/ocamlnet/Manifest +++ b/dev-ml/ocamlnet/Manifest @@ -7,18 +7,20 @@ 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.1.tar.gz 3195528 RMD160 d55d84834549c9a0b32d9e5609cdf5df44e57ef1 SHA1 1359380351c2049325d4629fc837d543477bc28e SHA256 c8e802fc1ffdb4f1e9a74dfa274b2baf0e909ef3038384add7e3c573616a19a8 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 +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 6879 RMD160 417a3682f2cf26aa2da9c8da4bc4ad32a43d2be7 SHA1 6d695b0614675e01911aa43ad44fdc62fbab7e82 SHA256 a7a883d546518a6c378b19c665d64f7f025bf0b91f921ba6158cd17d221926d6 +MISC ChangeLog 7002 RMD160 d353b69e3ae71cfa0b47a88b362b2dbffd20228e SHA1 4855feec1996be4bd85b84779ac26aa8525c2135 SHA256 970409915d9b709716ba27e4d3bf1d0eee6fc5d61d24e22b71bec6c89d9773ee MISC metadata.xml 419 RMD160 1ccd28e42a80f3946a2b7d36fa5bfe0eb411520c SHA1 58a3938bf84b282b5d6ffccb9c1ee8964d05aed6 SHA256 b8b5005c86a12de781987f6a36917a635b46469a5ef497d6fec80e3d8737e7fb -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iEYEARECAAYFAk5qMAIACgkQvFcC4BYPU0pTxACcCznv78UIMvR9YEBekRthwgZi -l8AAniXfmmwfxXoplrLRthRTJoKXEzy/ -=a5si +iEYEARECAAYFAk6xXEsACgkQvFcC4BYPU0oOKACgncu8bxdM1/uSSnt7lOUmivTJ +XgMAoJ+JilImSk0QygYoRG9yGqGpYMX5 +=mF0h -----END PGP SIGNATURE----- diff --git a/dev-ml/ocamlnet/ocamlnet-3.4.1.ebuild b/dev-ml/ocamlnet/ocamlnet-3.4.1.ebuild new file mode 100644 index 000000000000..6de147922996 --- /dev/null +++ b/dev-ml/ocamlnet/ocamlnet-3.4.1.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.1.ebuild,v 1.1 2011/11/02 15:05:41 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 +} |