diff options
author | Guillaume Horel (thrasibule) <guillaume.horel@gmail.com> | 2009-08-17 01:01:49 +0000 |
---|---|---|
committer | Guillaume Horel (thrasibule) <guillaume.horel@gmail.com> | 2009-08-17 01:01:49 +0000 |
commit | 51f67a79c2639b25667b911c7343eb88fa95cea8 (patch) | |
tree | adc28c666acdb8248c63c6f3cd5c7716328da74a /dev-ml/ocamlgsl | |
parent | dev-python/django-haystack: New ebuild for dev-python/django-haystack (bug #2... (diff) | |
download | sunrise-51f67a79c2639b25667b911c7343eb88fa95cea8.tar.gz sunrise-51f67a79c2639b25667b911c7343eb88fa95cea8.tar.bz2 sunrise-51f67a79c2639b25667b911c7343eb88fa95cea8.zip |
dev-ml/ocamlgsl: New Ebuild for dev-ml/ocamlgsl (bug #280939)
svn path=/sunrise/; revision=9034
Diffstat (limited to 'dev-ml/ocamlgsl')
-rw-r--r-- | dev-ml/ocamlgsl/ChangeLog | 12 | ||||
-rw-r--r-- | dev-ml/ocamlgsl/Manifest | 5 | ||||
-rw-r--r-- | dev-ml/ocamlgsl/files/ocaml-3.11.patch | 12 | ||||
-rw-r--r-- | dev-ml/ocamlgsl/metadata.xml | 5 | ||||
-rw-r--r-- | dev-ml/ocamlgsl/ocamlgsl-0.6.0.ebuild | 37 |
5 files changed, 71 insertions, 0 deletions
diff --git a/dev-ml/ocamlgsl/ChangeLog b/dev-ml/ocamlgsl/ChangeLog new file mode 100644 index 000000000..581abcfe6 --- /dev/null +++ b/dev-ml/ocamlgsl/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for dev-ml/ocamlgsl +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 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) + + 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 index 000000000..19d07e94e --- /dev/null +++ b/dev-ml/ocamlgsl/Manifest @@ -0,0 +1,5 @@ +AUX ocaml-3.11.patch 381 RMD160 e86864ae4dd6ac9ff55b7eadbf05190ace72e897 SHA1 8e836cc77c7a35f54b48e38537c052c9d2652287 SHA256 35aff9d59c9ab9e60eac4b067d3923a7425d2aac4cd3f01f419a08443b74bdce +DIST ocamlgsl-0.6.0.tar.gz 274345 RMD160 f7e9db2f388694dbede5b95ed961cb6eeef1fb00 SHA1 819d2f95f44cc4c331a4aa644f8d23704477de05 SHA256 ddb9e432dc1a431cad332a8e7e6685d2facbde2fa15ecab9315741f7d11b588c +EBUILD ocamlgsl-0.6.0.ebuild 802 RMD160 29328cef0893e753b333a7253eb0f5109d434f9d SHA1 6c3e66e78b1ea34d30a4fa31cbd464ed4849395d SHA256 12dffc71a47290b42330ce9f3c7e9a0fe789b00e786cdcf2322e6a2d40ca57fc +MISC ChangeLog 488 RMD160 74a57074953a413dbf7583040405eb969d70591b SHA1 b2a3d2a8384eaa71bdbc4d282b5d2cb38bac224e SHA256 0027aae90f864be0ddf212a12b6a8750483098f76297b1b0cabc5b48de4e4c77 +MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/dev-ml/ocamlgsl/files/ocaml-3.11.patch b/dev-ml/ocamlgsl/files/ocaml-3.11.patch new file mode 100644 index 000000000..dbfc69ca3 --- /dev/null +++ b/dev-ml/ocamlgsl/files/ocaml-3.11.patch @@ -0,0 +1,12 @@ +diff -urN ocamlgsl-0.6.0-orig/Makefile ocamlgsl-0.6.0/Makefile +--- ocamlgsl-0.6.0-orig/Makefile 2009-08-12 23:20:21.000000000 -0400 ++++ ocamlgsl-0.6.0/Makefile 2009-08-12 23:19:37.000000000 -0400 +@@ -94,7 +94,7 @@ + ifeq ($(OCAML_BACKEND),cl) + include msvc.mak + else +-ifeq ($(OCAML_BACKEND),gcc) ++ifeq (,$(findstring $(OCAML_BACKEND),gcc)) + 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 index 000000000..7e3286984 --- /dev/null +++ b/dev-ml/ocamlgsl/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>maintainer-wanted</herd> +</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 index 000000000..462aee032 --- /dev/null +++ b/dev-ml/ocamlgsl/ocamlgsl-0.6.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +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="~x86" +IUSE="doc" + +DEPEND=">=dev-lang/ocaml-3.10 + >=sci-libs/gsl-1.9" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/ocaml-3.11.patch" ) + +src_compile() { + emake -j1 || die "compilation failed" +} + +src_install() { + findlib_src_preinst + emake install-findlib -j1 || die "make install failed" + + dodoc README NEWS NOTES || die "docs install failed" + doinfo *.info* || die "info install failed" + if use doc; then + dohtml doc/* || die "html docs install failed" + fi +} |