summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2010-11-07 17:40:03 +0000
committerAlexis Ballier <aballier@gentoo.org>2010-11-07 17:40:03 +0000
commit0eedeb6b0420c9da5028ed43910d7f918dafd0a7 (patch)
tree677b7f72c69687a26f20d07ca1b7ae39bb6ac969
parentdev-lisp/cl-iterate removal, p.masked from 17Sep2010, wrt bug #337963 (diff)
downloadhistorical-0eedeb6b0420c9da5028ed43910d7f918dafd0a7.tar.gz
historical-0eedeb6b0420c9da5028ed43910d7f918dafd0a7.tar.bz2
historical-0eedeb6b0420c9da5028ed43910d7f918dafd0a7.zip
version bump
Package-Manager: portage-2.2.0_alpha4/cvs/Linux x86_64
-rw-r--r--dev-ml/ocamlduce/ChangeLog8
-rw-r--r--dev-ml/ocamlduce/Manifest14
-rw-r--r--dev-ml/ocamlduce/ocamlduce-3.12.0.0.ebuild70
3 files changed, 86 insertions, 6 deletions
diff --git a/dev-ml/ocamlduce/ChangeLog b/dev-ml/ocamlduce/ChangeLog
index a1bec0fabbf9..17639c3401d6 100644
--- a/dev-ml/ocamlduce/ChangeLog
+++ b/dev-ml/ocamlduce/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ml/ocamlduce
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlduce/ChangeLog,v 1.15 2010/04/12 06:34:53 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlduce/ChangeLog,v 1.16 2010/11/07 17:40:03 aballier Exp $
+
+*ocamlduce-3.12.0.0 (07 Nov 2010)
+
+ 07 Nov 2010; Alexis Ballier <aballier@gentoo.org>
+ +ocamlduce-3.12.0.0.ebuild:
+ version bump
12 Apr 2010; Alexis Ballier <aballier@gentoo.org>
-ocamlduce-3.11.1.0.ebuild:
diff --git a/dev-ml/ocamlduce/Manifest b/dev-ml/ocamlduce/Manifest
index 9561b5c6ba38..ca5a62c3ac1c 100644
--- a/dev-ml/ocamlduce/Manifest
+++ b/dev-ml/ocamlduce/Manifest
@@ -2,15 +2,19 @@
Hash: SHA1
DIST ocaml-3.11.2.tar.bz2 2346284 RMD160 a407e579b7fa134fc8126c5c5b544dd60cedecb1 SHA1 59053ce0078da2367f4ce61da886d22c6e86a46d SHA256 86f3387a0d7e7c8be2a3c53af083a5a726e333686208d5ea0dd6bb5ac3f58143
+DIST ocaml-3.12.0.tar.bz2 2639049 RMD160 3d10d5f7431d8200688fa74122e7ed528126a0fa SHA1 33ebbfb1115806f117808f37e40d206c8994943d SHA256 17811756209ec9658e1027b0d3b8e5dedb772ca1c43e0bdfa630a2a183ffec3b
DIST ocaml-patches-1.tar.bz2 3108 RMD160 ad56f8be4b15347794f3167be82124fcdbf6f6dc SHA1 542ae4c2b1515730fe0c9050b6658106ef69ad19 SHA256 ad1c252cba7cc50f70d19049fcd78aa359672e436ab9906424548229a04afa49
+DIST ocaml-patches-2.tar.bz2 3405 RMD160 4f15296ce431864d3578176de553bf2a8dd5086a SHA1 4739b5e6c4507a9417327743789991176698559d SHA256 4d056122b6923b7fd2cc1168cb2d747e649da1f009a37667c82c8e7a20e4b6ac
DIST ocamlduce-3.11.2.0.tar.gz 139459 RMD160 cae634e3a077c4295e9b082f919d182aa586c5a2 SHA1 e3b3268f07a6d16342733232a5d9bf2c50cf6792 SHA256 8bd6563b979dd127a76fa5f8a3137c83010b14bf581e02e15371904f1d8beddd
+DIST ocamlduce-3.12.0.0.tar.gz 138677 RMD160 4deee8799ec1c8c519e008a7d7d920f424ae2f24 SHA1 1cc8cb089edeb438d57b50b51c0dda1f35476927 SHA256 fe78ff3f31dda6f3760c0b3ee13603436e42142077f8d5473f005d5290e04f8c
EBUILD ocamlduce-3.11.2.0.ebuild 2019 RMD160 bf9dfe416e8e9509b3b7007640a3577dc9fe0d0b SHA1 4707a59716a3d90d563f276ea141e05148fad991 SHA256 d488b6d7a8adf1767a983c73c9b7cc524b6b26dce253662e85c289191d1fd813
-MISC ChangeLog 1996 RMD160 6e0c05482a21e970611cd1fbfc5f96f4be9e102b SHA1 f12dafaf72e984aae335aa4abb2033a7ad8f34f9 SHA256 bb7dccfebbe7642d0a8bc6e963eb0d444d080991bc3187510cb8866ae09fb9e8
+EBUILD ocamlduce-3.12.0.0.ebuild 2019 RMD160 7a212535ea9b037c5e474f702fa3184015745c86 SHA1 7af777b9c0c858e076858c4045418e181b9658d8 SHA256 3b844645f1db1c2ae4fc15a21a47cdca55c457170e45679cf81a412100911dc5
+MISC ChangeLog 2129 RMD160 017f4d96189f3df217b0b74e2fdc305b9d0e6cac SHA1 5c3b2cc22a9c27965ff44e0701a71e7a3b7f39ec SHA256 d9dcfe9e127d53a36b31e4abe03bf5515427422daa5226af7dda9f48cf0976dd
MISC metadata.xml 596 RMD160 1b88beb573543cf7b16a9287535e628b342441dd SHA1 cf8f0204da2e16dcb83d837fa5916747a589f8cf SHA256 88c57d0b9cfb5ddde09162a1b25f7412df877e030bc80bb9433089f2dee9f0ea
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.14 (GNU/Linux)
+Version: GnuPG v2.0.16 (GNU/Linux)
-iEYEARECAAYFAkvCvxIACgkQvFcC4BYPU0oibACfe0CsgCnNqkszgxlXHuhVFrU1
-lHEAoKW1qfYi6JbFYclPEKBp9zdfx7P3
-=Rc/1
+iEYEARECAAYFAkzW5HkACgkQvFcC4BYPU0o/ngCglJB5MKglIwSxLWnnxDUEbONo
+DbcAoLrSXprlrc0RWIRPL8xb/aphAa2N
+=cbJl
-----END PGP SIGNATURE-----
diff --git a/dev-ml/ocamlduce/ocamlduce-3.12.0.0.ebuild b/dev-ml/ocamlduce/ocamlduce-3.12.0.0.ebuild
new file mode 100644
index 000000000000..0c9373ee2b4c
--- /dev/null
+++ b/dev-ml/ocamlduce/ocamlduce-3.12.0.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlduce/ocamlduce-3.12.0.0.ebuild,v 1.1 2010/11/07 17:40:03 aballier Exp $
+
+EAPI="2"
+
+inherit versionator eutils toolchain-funcs flag-o-matic multilib
+
+OCAML_VERSION=3.12.0
+OCAML_TARBALL=ocaml-${OCAML_VERSION}.tar.bz2
+OCAML_PATCHLEVEL=2
+OCAML_GENTOO_PATCHES=ocaml-patches-${OCAML_PATCHLEVEL}.tar.bz2
+
+DESCRIPTION="OCamlDuce is a merger between OCaml and CDuce"
+HOMEPAGE="http://ocamlduce.forge.ocamlcore.org/"
+SRC_URI="https://forge.ocamlcore.org/frs/download.php/441/${P}.tar.gz
+ ftp://ftp.inria.fr/INRIA/cristal/ocaml/ocaml-$(get_version_component_range 1-2 ${OCAML_VERSION})/${OCAML_TARBALL}
+ mirror://gentoo/${OCAML_GENTOO_PATCHES}"
+
+LICENSE="QPL-1.0 LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+IUSE="+ocamlopt"
+
+DEPEND="~dev-lang/ocaml-${OCAML_VERSION}[ocamlopt?]
+ >=dev-ml/findlib-1.2.4-r1
+ !!<dev-ml/${P}"
+
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${P}/ocaml-${OCAML_VERSION}
+
+src_unpack() {
+ unpack ${P}.tar.gz ${OCAML_GENTOO_PATCHES}
+}
+
+src_prepare() {
+ cd "${WORKDIR}/${P}"
+ emake OCAML_SOURCE="${DISTDIR}/${OCAML_TARBALL}" prepare || die "failed to prepare"
+ cd "${S}"
+ EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
+}
+
+src_configure() {
+ RAW_LDFLAGS="$(raw-ldflags)" ./configure -prefix /usr \
+ --bindir /usr/bin \
+ --libdir /usr/$(get_libdir)/ocaml \
+ --mandir /usr/share/man \
+ -host "${CHOST}" \
+ -cc "$(tc-getCC)" \
+ -as "$(tc-getAS)" \
+ -aspp "$(tc-getCC) -c" \
+ --with-pthread || die "configure failed!"
+}
+
+src_compile() {
+ if use ocamlopt; then
+ emake -f Makefile.ocamlduce -j1 world.opt || die
+ else
+ emake -f Makefile.ocamlduce -j1 world || die
+ fi
+}
+
+src_install() {
+ emake -f Makefile.ocamlduce BINDIR="${D}/usr/bin" LIBDIR="${D}/usr/$(get_libdir)/ocaml" installbyte || die
+ if use ocamlopt; then
+ emake -f Makefile.ocamlduce BINDIR="${D}/usr/bin" LIBDIR="${D}/usr/$(get_libdir)/ocaml" installopt || die
+ fi
+ dodoc Changes README
+}