Initial import in the main tree from the sunrise overlay. Thanks Guillaume Horel...
authorSebastien Fabbro <bicatali@gentoo.org>
Thu, 3 Jun 2010 19:36:20 +0000 (19:36 +0000)
committerSebastien Fabbro <bicatali@gentoo.org>
Thu, 3 Jun 2010 19:36:20 +0000 (19:36 +0000)
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64

dev-ml/ocamlgsl/ChangeLog [new file with mode: 0644]
dev-ml/ocamlgsl/Manifest [new file with mode: 0644]
dev-ml/ocamlgsl/files/ocamlgsl-0.6.0-ocaml311.patch [new file with mode: 0644]
dev-ml/ocamlgsl/metadata.xml [new file with mode: 0644]
dev-ml/ocamlgsl/ocamlgsl-0.6.0.ebuild [new file with mode: 0644]

diff --git a/dev-ml/ocamlgsl/ChangeLog b/dev-ml/ocamlgsl/ChangeLog
new file mode 100644 (file)
index 0000000..9ac1aa5
--- /dev/null
@@ -0,0 +1,16 @@
+# ChangeLog for dev-ml/ocamlgsl
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlgsl/ChangeLog,v 1.1 2010/06/03 19:36:20 bicatali Exp $
+
+*ocamlgsl-0.6.0 (03 Jun 2010)
+
+  03 Jun 2010; Sébastien Fabbro <bicatali@gentoo.org>
+  +ocamlgsl-0.6.0.ebuild, +files/ocamlgsl-0.6.0-ocaml311.patch,
+  +metadata.xml:
+  Initial import in the main tree from the sunrise overlay. Thanks Guillaume
+  Horel for his work
+
+  17 Aug 2009; Guillaume Horel (thrasibule) <guillaume.horel@gmail.com>
+  +ocamlgsl-0.6.0.ebuild, +files/ocaml-3.11.patch, +metadata.xml:
+  New Ebuild for dev-ml/ocamlgsl (bug #280939)
+
diff --git a/dev-ml/ocamlgsl/Manifest b/dev-ml/ocamlgsl/Manifest
new file mode 100644 (file)
index 0000000..af6b01a
--- /dev/null
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX ocamlgsl-0.6.0-ocaml311.patch 948 RMD160 6230348d7b3aea03fad9e139b062ef16824159ae SHA1 963844c2209a922c73c8c102021eecc16e439038 SHA256 e025e4bf6a0635001cbd73211417a1056ebf9361db540fb707813260e040b195
+DIST ocamlgsl-0.6.0.tar.gz 274345 RMD160 f7e9db2f388694dbede5b95ed961cb6eeef1fb00 SHA1 819d2f95f44cc4c331a4aa644f8d23704477de05 SHA256 ddb9e432dc1a431cad332a8e7e6685d2facbde2fa15ecab9315741f7d11b588c
+EBUILD ocamlgsl-0.6.0.ebuild 884 RMD160 fb6755d6d45f9e3295f04563c0aa9c767d873fb9 SHA1 be92755dc070b95a9db58a1e3cd019d448b1cf47 SHA256 c89b11d47a9fe1a9dcb59e91868183ec51993d88d7c79f75f66240b5b6394242
+MISC ChangeLog 657 RMD160 a1eb9e8046dc814cba9e3977bbed5978b54626a8 SHA1 89f285cf4560bac0e478d8333aac26de64f9726c SHA256 d38353f963baf575932e61573930299161b7d34cf5a5c6f866b50e9aa22996a0
+MISC metadata.xml 293 RMD160 e9ba4a54d5567fd507890f8c072e4c20c0108634 SHA1 0b98fb99e8800e1e85b67e0b4a6564c9de8ad3c6 SHA256 5bfc9d31096e19e7f3bab450027e17a176feb3e523ed519fb5af708406c4916f
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.15 (GNU/Linux)
+
+iEYEARECAAYFAkwIDMYACgkQ1ycZbhPLE2BXcwCfRulOC9QXMZX3XKpBQsl4lk6G
+AZ4Ani5j2U5T4TgF0z1El5G7pOXjKiUu
+=ifiR
+-----END PGP SIGNATURE-----
diff --git a/dev-ml/ocamlgsl/files/ocamlgsl-0.6.0-ocaml311.patch b/dev-ml/ocamlgsl/files/ocamlgsl-0.6.0-ocaml311.patch
new file mode 100644 (file)
index 0000000..52627ac
--- /dev/null
@@ -0,0 +1,31 @@
+ Makefile |    6 +++---
+ 1 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index ae12602..dd68657 100644
+--- a/Makefile
++++ b/Makefile
+@@ -16,12 +16,12 @@ OCPP     := ocpp
+ FORT := fort 
+ AWK  := gawk
+ 
+-MNOCYGWIN     ?= $(shell $(OCAMLC) -verbose foo.c 2>&1 | $(AWK) "NR==1 { print \$$3 }")       
++MNOCYGWIN     ?= $(shell $(OCAMLC) -verbose foo.c 2>&1 | $(AWK) 'NR==1 { print $3 }') 
+ ifeq ($(MNOCYGWIN),-mnocygwin)
+ OCAML_BACKEND := mingw
+ endif
+ 
+-OCAML_BACKEND ?= $(shell $(OCAMLC) -verbose foo.c 2>&1 | $(AWK) "NR==1 { print \$$2 }")
++OCAML_BACKEND ?= $(shell $(OCAMLC) -verbose foo.c 2>&1 | $(AWK) 'NR==1 { print $2 }')
+ OCAML_VERSION ?= $(shell $(OCAMLC) -version)
+ 
+ OCAMLBCFLAGS := -g 
+@@ -94,7 +94,7 @@ SRC := wrappers.h gsl_misc.ml io.h \
+ ifeq ($(OCAML_BACKEND),cl)
+ include msvc.mak
+ else
+-ifeq ($(OCAML_BACKEND),gcc)
++ifneq (,$(findstring gcc,$(OCAML_BACKEND))) 
+ include gcc.mak
+ else
+ include mingw.mak
diff --git a/dev-ml/ocamlgsl/metadata.xml b/dev-ml/ocamlgsl/metadata.xml
new file mode 100644 (file)
index 0000000..926da8d
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang='en'>
+  This is an interface to GSL (GNU scientific library), for the
+  Objective Caml langage.
+</longdescription>
+</pkgmetadata>
diff --git a/dev-ml/ocamlgsl/ocamlgsl-0.6.0.ebuild b/dev-ml/ocamlgsl/ocamlgsl-0.6.0.ebuild
new file mode 100644 (file)
index 0000000..8899482
--- /dev/null
@@ -0,0 +1,37 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlgsl/ocamlgsl-0.6.0.ebuild,v 1.1 2010/06/03 19:36:20 bicatali Exp $
+
+EAPI="2"
+
+inherit base findlib
+
+DESCRIPTION="OCaml bindings for the GSL library"
+HOMEPAGE="http://oandrieu.nerim.net/ocaml/gsl/"
+SRC_URI="http://oandrieu.nerim.net/ocaml/gsl/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND=">=dev-lang/ocaml-3.10
+       sci-libs/gsl"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-ocaml311.patch" )
+
+src_compile() {
+       emake CFLAGS="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+       findlib_src_preinst
+       emake install-findlib || die "emake install failed"
+
+       dodoc README NEWS NOTES
+       doinfo *.info* || die "info install failed"
+       if use doc; then
+               dohtml doc/* || die "html docs install failed"
+       fi
+}