From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SDPcp-0005Ay-OI for garchives@archives.gentoo.org; Fri, 30 Mar 2012 00:23:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8E1C2E0850; Fri, 30 Mar 2012 00:23:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 59709E0850 for ; Fri, 30 Mar 2012 00:23:14 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7A8091B400C for ; Fri, 30 Mar 2012 00:23:13 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 3E074E5402 for ; Fri, 30 Mar 2012 00:23:12 +0000 (UTC) From: "Guillaume Horel" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Guillaume Horel" Message-ID: <1333066267.746048cf38c3ed125b92dc20e085218ec1021862.guillaume_horel@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-ml/lacaml/ X-VCS-Repository: proj/sci X-VCS-Files: dev-ml/lacaml/ChangeLog dev-ml/lacaml/lacaml-6.0.4.ebuild X-VCS-Directories: dev-ml/lacaml/ X-VCS-Committer: guillaume_horel X-VCS-Committer-Name: Guillaume Horel X-VCS-Revision: 746048cf38c3ed125b92dc20e085218ec1021862 X-VCS-Branch: master Date: Fri, 30 Mar 2012 00:23:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 4cddc7a1-4523-45ad-9c03-324ddd7cc17b X-Archives-Hash: b24b8c76ded1e0a1391532c587983b91 commit: 746048cf38c3ed125b92dc20e085218ec1021862 Author: Guillaume Horel gmail com> AuthorDate: Fri Mar 30 00:11:07 2012 +0000 Commit: Guillaume Horel gmail com> CommitDate: Fri Mar 30 00:11:07 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc= ommit;h=3D746048cf [dev-ml/lacaml] moved to new oasis eclass --- dev-ml/lacaml/ChangeLog | 3 ++ dev-ml/lacaml/lacaml-6.0.4.ebuild | 39 +++++++++++++++----------------= ----- 2 files changed, 19 insertions(+), 23 deletions(-) diff --git a/dev-ml/lacaml/ChangeLog b/dev-ml/lacaml/ChangeLog index d3d8095..0f5b40f 100644 --- a/dev-ml/lacaml/ChangeLog +++ b/dev-ml/lacaml/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ =20 + 30 Mar 2012; Guillaume Horel lacaml-6.0.4.= ebuild: + moved to new oasis eclass + *lacaml-6.0.4 (02 Mar 2012) =20 02 Mar 2012; Guillaume Horel diff --git a/dev-ml/lacaml/lacaml-6.0.4.ebuild b/dev-ml/lacaml/lacaml-6.0= .4.ebuild index 00c7a9a..c0439cd 100644 --- a/dev-ml/lacaml/lacaml-6.0.4.ebuild +++ b/dev-ml/lacaml/lacaml-6.0.4.ebuild @@ -4,7 +4,8 @@ =20 EAPI=3D4 =20 -inherit eutils findlib +OASIS_BUILD_DOCS=3D1 +inherit oasis =20 DESCRIPTION=3D"BLAS/LAPACK interface for OCaml" HOMEPAGE=3D"http://forge.ocamlcore.org/projects/lacaml" @@ -13,28 +14,20 @@ SRC_URI=3D"http://forge.ocamlcore.org/frs/download.ph= p/806/${P}.tar.gz" LICENSE=3D"LGPL-2.1-linking-exception" SLOT=3D"0" KEYWORDS=3D"~x86" -IUSE=3D"doc" +IUSE=3D"" =20 -DEPEND=3D"dev-lang/ocaml[ocamlopt] - virtual/blas +RDEPEND=3D"virtual/blas virtual/lapack" -RDEPEND=3D"${DEPEND}" - -src_configure() { - ocaml setup.ml -configure \ - --override conf_cclib "$(pkg-config --libs blas) \ -$(pkg-config --libs lapack)" \ - --destdir "${ED}" \ - --prefix "/usr" \ - --docdir "/usr/share/${PF}/doc" || die "configuration failed" -} - -src_compile() { - emake - use doc && emake doc -} - -src_install() { - findlib_src_install - dodoc README.txt Changelog +DEPEND=3D"${DEPEND} + dev-util/pkgconfig" + +DOCS=3D( "README.txt" "Changelog" ) + +src_prepare() { + cclib=3D"$(pkg-config --libs blas lapack)" + cclib=3D"[$(echo $cclib|sed -e 's/\(-[a-z0-9]*\) /\"\1\"\;/g' -e \ + 's/\(-[a-z0-9]*\)$/\"\1\"/')]" + sed -i "s/cclib =3D \[\]/cclib =3D ${cclib}/" setup.conf + #would like to do the below, but doesn't work from ebuild + #oasis_configure_opts=3D"--override conf_cclib $(pkg-config --libs blas= atlas) }