summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2011-09-09 15:12:52 +0000
committerAlexis Ballier <aballier@gentoo.org>2011-09-09 15:12:52 +0000
commit69dfa980432ccbcf32d8bddb707eed3cb5aa1e04 (patch)
treeade930ef4928388f3cce676aaeff79f0e7688ef7 /dev-ml
parentRevision bump to not build static libs and punt .la file. Remove older oversh... (diff)
downloadgentoo-2-69dfa980432ccbcf32d8bddb707eed3cb5aa1e04.tar.gz
gentoo-2-69dfa980432ccbcf32d8bddb707eed3cb5aa1e04.tar.bz2
gentoo-2-69dfa980432ccbcf32d8bddb707eed3cb5aa1e04.zip
version bump
(Portage version: 2.2.0_alpha54/cvs/Linux x86_64)
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/lwt/ChangeLog7
-rw-r--r--dev-ml/lwt/lwt-2.3.1.ebuild50
2 files changed, 56 insertions, 1 deletions
diff --git a/dev-ml/lwt/ChangeLog b/dev-ml/lwt/ChangeLog
index 886bc5f54c40..45a78ace8164 100644
--- a/dev-ml/lwt/ChangeLog
+++ b/dev-ml/lwt/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ml/lwt
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/lwt/ChangeLog,v 1.13 2011/07/06 18:30:28 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/lwt/ChangeLog,v 1.14 2011/09/09 15:12:52 aballier Exp $
+
+*lwt-2.3.1 (09 Sep 2011)
+
+ 09 Sep 2011; Alexis Ballier <aballier@gentoo.org> +lwt-2.3.1.ebuild:
+ version bump
06 Jul 2011; Alexis Ballier <aballier@gentoo.org> -lwt-2.1.0.ebuild,
-lwt-2.1.1.ebuild, -lwt-2.2.0.ebuild, -lwt-2.2.1.ebuild,
diff --git a/dev-ml/lwt/lwt-2.3.1.ebuild b/dev-ml/lwt/lwt-2.3.1.ebuild
new file mode 100644
index 000000000000..7a025e73aaf5
--- /dev/null
+++ b/dev-ml/lwt/lwt-2.3.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/lwt/lwt-2.3.1.ebuild,v 1.1 2011/09/09 15:12:52 aballier Exp $
+
+EAPI=2
+
+inherit findlib eutils multilib
+
+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 +ocamlopt +react +ssl"
+
+DEPEND=">=dev-lang/ocaml-3.12[ocamlopt?]
+ react? ( dev-ml/react )
+ dev-libs/libev
+ 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}
+
+oasis_use_enable() {
+ echo "--override $2 `use $1 && echo \"true\" || echo \"false\"`"
+}
+
+src_configure() {
+ ./configure --prefix usr \
+ --libdir /usr/$(get_libdir) \
+ --docdir /usr/share/doc/${PF}/html \
+ --destdir "${D}" \
+ $(use_enable gtk glib) \
+ $(use_enable react) \
+ $(use_enable ssl) \
+ $(oasis_use_enable ocamlopt is_native) \
+ || die
+}
+
+src_install() {
+ findlib_src_install
+ dodoc CHANGES* README || die
+}