summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Huber <huber@crans.org>2010-12-29 17:51:55 +0100
committerOlivier Huber <huber@crans.org>2010-12-29 17:51:55 +0100
commitb76240c6b23f09a16844d1ce2500748f2611b613 (patch)
tree1983514bd7373747d02ad08e3763a7e1b05c31f1
parent[ocaml-text] fix Manifest (diff)
downloadxhub-b76240c6b23f09a16844d1ce2500748f2611b613.tar.gz
xhub-b76240c6b23f09a16844d1ce2500748f2611b613.tar.bz2
xhub-b76240c6b23f09a16844d1ce2500748f2611b613.zip
[dev-ml/lwt] add text and toplevel USE flags
-rw-r--r--dev-ml/lwt/ChangeLog49
-rw-r--r--dev-ml/lwt/Manifest8
-rw-r--r--dev-ml/lwt/lwt-2.1.0.ebuild58
-rw-r--r--dev-ml/lwt/lwt-2.1.1.ebuild63
-rw-r--r--dev-ml/lwt/lwt-2.2.0-r1.ebuild53
-rw-r--r--dev-ml/lwt/metadata.xml16
6 files changed, 247 insertions, 0 deletions
diff --git a/dev-ml/lwt/ChangeLog b/dev-ml/lwt/ChangeLog
new file mode 100644
index 0000000..a115eea
--- /dev/null
+++ b/dev-ml/lwt/ChangeLog
@@ -0,0 +1,49 @@
+# ChangeLog for dev-ml/lwt
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/lwt/ChangeLog,v 1.10 2010/12/25 18:00:18 aballier Exp $
+
+*lwt-2.2.0 (25 Dec 2010)
+
+ 25 Dec 2010; Alexis Ballier <aballier@gentoo.org> +lwt-2.2.0.ebuild,
+ metadata.xml:
+ version bump
+
+*lwt-2.1.1 (16 Nov 2010)
+
+ 16 Nov 2010; Alexis Ballier <aballier@gentoo.org> +lwt-2.1.1.ebuild:
+ version bump
+
+ 25 May 2010; Alexis Ballier <aballier@gentoo.org> -lwt-2.0.0.ebuild:
+ remove old
+
+*lwt-2.1.0 (23 Apr 2010)
+
+ 23 Apr 2010; Alexis Ballier <aballier@gentoo.org> +lwt-2.1.0.ebuild:
+ version bump
+
+ 16 Oct 2009; Alexis Ballier <aballier@gentoo.org> -lwt-1.1.0.ebuild,
+ -lwt-2.0.0_rc1.ebuild:
+ remove old
+
+*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)
+
+ 13 Oct 2009; Alexis Ballier <aballier@gentoo.org> +lwt-2.0.0_rc1.ebuild:
+ version bump
+
+ 17 Jun 2009; Alexis Ballier <aballier@gentoo.org> lwt-1.1.0.ebuild:
+ eapi2ify, by Olivier Huber <oli.huber@gmail.com>, bug #268933
+
+ 25 Sep 2008; Alexis Ballier <aballier@gentoo.org> lwt-1.1.0.ebuild:
+ keyword ~x86-fbsd
+
+*lwt-1.1.0 (02 Sep 2008)
+
+ 02 Sep 2008; Alexis Ballier <aballier@gentoo.org> +metadata.xml,
+ +lwt-1.1.0.ebuild:
+ Initial import. Split out of ocsigen. Thanks to Pierre Clairambault.
+
diff --git a/dev-ml/lwt/Manifest b/dev-ml/lwt/Manifest
new file mode 100644
index 0000000..917b0dd
--- /dev/null
+++ b/dev-ml/lwt/Manifest
@@ -0,0 +1,8 @@
+DIST lwt-2.1.0.tar.gz 336194 RMD160 c1af42b3a5661d89b003efdf6e188f3c69587938 SHA1 301080f0d5241658c248c3b7f959688ee17e54e8 SHA256 c83b69bdb01f488c174e42eff371af406e012f034e621196e4d93488c647fab9
+DIST lwt-2.1.1.tar.gz 342996 RMD160 62fd229443742f4ac51ad452dfde0732485300ed SHA1 2fb268d6ef227720700cf610971637c5a40b6225 SHA256 1c70db7b17c715a446c3c1db485d7c8841aa7b507612cbac82da67189f0656fe
+DIST lwt-2.2.0.tar.gz 441035 RMD160 c5c42bb9cb7e76c617aae5080916f983f8eebc5f SHA1 45a0bce585919b74a77a215edd902a6c38e73a6b SHA256 415d19f5d47d6264b54462b1aa09f98fc4309d09a2651a45424203b262d5df8d
+EBUILD lwt-2.1.0.ebuild 1407 RMD160 c1f5b0eece50e3eb69be6ddc8b5c6ad6c5ffee71 SHA1 67f4e2dc965094a29c511becc696e692f48814b4 SHA256 17def558782c36394a959e310d5c7039585d609db18977833ad4d59cbdb5af30
+EBUILD lwt-2.1.1.ebuild 1476 RMD160 c9ece676a14122e1892139487e6867392d5095e8 SHA1 0f1be140700dfd2c47fd2b32deca4cf4630d66c2 SHA256 ccfdc3412b6bab36d84736c627b367fc05577df1b73d32019bed0d1f338c9c51
+EBUILD lwt-2.2.0-r1.ebuild 1289 RMD160 ce71253f5a48733febe14456936349d3e7b7bf20 SHA1 4f8ef42b514dc1ed5a3e3e50b476b79cefe6b690 SHA256 2c54c496191c0d02ea0ff025db626f78a7a2e4ca1fc108a4c5946f698359d9b7
+MISC ChangeLog 1399 RMD160 eca3fc8e247f236ea57b18629b34e5d7e19f3d38 SHA1 b983b4b13d43c1fea2b0a930d2c6eee1eaae64c4 SHA256 132ffac4667a1385c32a5a10f90d2012f9bb2af28fa488c3f040e923090b9e58
+MISC metadata.xml 501 RMD160 748320ed5317812da80f69249260051662276f38 SHA1 9cf7505b45591dc3759a8915e59b9619612fda7a SHA256 b638a7659789511b8c86fff14b74f0327520f807fa05e199aea2ae956864e71a
diff --git a/dev-ml/lwt/lwt-2.1.0.ebuild b/dev-ml/lwt/lwt-2.1.0.ebuild
new file mode 100644
index 0000000..4119ff8
--- /dev/null
+++ b/dev-ml/lwt/lwt-2.1.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/lwt/lwt-2.1.0.ebuild,v 1.1 2010/04/23 14:15:04 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
+}
diff --git a/dev-ml/lwt/lwt-2.1.1.ebuild b/dev-ml/lwt/lwt-2.1.1.ebuild
new file mode 100644
index 0000000..75d4e3f
--- /dev/null
+++ b/dev-ml/lwt/lwt-2.1.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/lwt/lwt-2.1.1.ebuild,v 1.1 2010/11/16 11:27:19 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_test() {
+ chmod +x run_tests.sh || die
+ ./run_tests.sh || die
+}
+
+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
+}
diff --git a/dev-ml/lwt/lwt-2.2.0-r1.ebuild b/dev-ml/lwt/lwt-2.2.0-r1.ebuild
new file mode 100644
index 0000000..3416e18
--- /dev/null
+++ b/dev-ml/lwt/lwt-2.2.0-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/lwt/lwt-2.2.0.ebuild,v 1.1 2010/12/25 18:00:18 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 toplevel +ocamlopt +react +ssl text"
+
+DEPEND=">=dev-lang/ocaml-3.11[ocamlopt?]
+ react? ( dev-ml/react )
+ dev-libs/libev
+ ssl? ( >=dev-ml/ocaml-ssl-0.4.0 )
+ gtk? ( dev-ml/lablgtk dev-libs/glib:2 )
+ text? ( >=dev-ml/ocaml-text-0.4 )"
+
+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) \
+ $(use_enable toplevel) \
+ $(use_enable text) \
+ $(oasis_use_enable ocamlopt is_native) \
+ || die
+}
+
+src_install() {
+ findlib_src_install
+ dodoc CHANGES* README
+}
diff --git a/dev-ml/lwt/metadata.xml b/dev-ml/lwt/metadata.xml
new file mode 100644
index 0000000..660b96f
--- /dev/null
+++ b/dev-ml/lwt/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <maintainer>
+ <email>aballier@gentoo.org</email>
+ <name>Alexis Ballier</name>
+ </maintainer>
+ <maintainer>
+ <email>pclairam@gmail.com</email>
+ <name>Pierre Clairambault</name>
+ </maintainer>
+ <use>
+ <flag name="react">Enables support for <pkg>dev-ml/react</pkg>: Functional reactive programming (signals, events, etc.).</flag>
+ </use>
+</pkgmetadata>