diff options
author | Alexis Ballier <aballier@gentoo.org> | 2009-10-16 11:41:47 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2009-10-16 11:41:47 +0000 |
commit | 0dd4a1a807069b81203b8a27311df2e4ec705e7e (patch) | |
tree | 8360e6905ae63cc7df0f30145478d8b643fc11f1 /dev-ml/lwt | |
parent | Add net-ftp herd (diff) | |
download | gentoo-2-0dd4a1a807069b81203b8a27311df2e4ec705e7e.tar.gz gentoo-2-0dd4a1a807069b81203b8a27311df2e4ec705e7e.tar.bz2 gentoo-2-0dd4a1a807069b81203b8a27311df2e4ec705e7e.zip |
bump to 2.0.0 final
(Portage version: 2.2_rc46/cvs/Linux x86_64)
Diffstat (limited to 'dev-ml/lwt')
-rw-r--r-- | dev-ml/lwt/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ml/lwt/lwt-2.0.0.ebuild | 58 |
2 files changed, 64 insertions, 1 deletions
diff --git a/dev-ml/lwt/ChangeLog b/dev-ml/lwt/ChangeLog index 94c839c1bed2..8fae23a9f2cf 100644 --- a/dev-ml/lwt/ChangeLog +++ b/dev-ml/lwt/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ml/lwt # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/lwt/ChangeLog,v 1.4 2009/10/13 06:47:41 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ml/lwt/ChangeLog,v 1.5 2009/10/16 11:41:47 aballier Exp $ + +*lwt-2.0.0 (16 Oct 2009) + + 16 Oct 2009; Alexis Ballier <aballier@gentoo.org> +lwt-2.0.0.ebuild: + bump to 2.0.0 final *lwt-2.0.0_rc1 (13 Oct 2009) diff --git a/dev-ml/lwt/lwt-2.0.0.ebuild b/dev-ml/lwt/lwt-2.0.0.ebuild new file mode 100644 index 000000000000..cf69520e7e78 --- /dev/null +++ b/dev-ml/lwt/lwt-2.0.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/lwt/lwt-2.0.0.ebuild,v 1.1 2009/10/16 11:41:47 aballier Exp $ + +EAPI=2 + +inherit findlib eutils + +MY_P=${P/_/+} +DESCRIPTION="Cooperative light-weight thread library for OCaml" +SRC_URI="http://ocsigen.org/download/${MY_P}.tar.gz" +HOMEPAGE="http://ocsigen.org/lwt" + +IUSE="gtk doc +ocamlopt ssl" + +DEPEND=">=dev-lang/ocaml-3.11[ocamlopt?] + dev-ml/react + ssl? ( >=dev-ml/ocaml-ssl-0.4.0 ) + gtk? ( dev-ml/lablgtk dev-libs/glib:2 )" + +RDEPEND="${DEPEND} + !<www-servers/ocsigen-1.1" + +SLOT="0" +LICENSE="LGPL-2.1 LGPL-2.1-linking-exception" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" + +S=${WORKDIR}/${MY_P} + +disable_feature() { + use $1 || sed -i -e "s/ocamlfind query $2/ocamlfind query badpackage/" myocamlbuild.ml +} + +src_configure() { + disable_feature ssl ssl + disable_feature gtk lablgtk2 +} + +src_compile() { + # ocamlbuild is stupid and fails parallel make if it does not exist... + mkdir _build + emake byte || die "make failed" + if use ocamlopt ; then + emake opt || die "failed to build native code version" + fi + if use doc ; then + emake doc || die "failed to build the documentation" + fi +} + +src_install() { + findlib_src_preinst + emake DESTDIR="${OCAMLFIND_DESTDIR}" install || die "install failed" + dodoc CHANGES README + if use doc; then + dohtml _build/lwt.docdir/*.html + fi +} |