public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/modelfree/
Date: Tue,  7 May 2013 10:13:31 +0000 (UTC)	[thread overview]
Message-ID: <1367921576.15481c73e161e27792f1173560ea3aa91382347b.jlec@gentoo> (raw)

commit:     15481c73e161e27792f1173560ea3aa91382347b
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue May  7 10:12:56 2013 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue May  7 10:12:56 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=15481c73

sci-chemistry/modelfree: Merge changes from curvefit

Package-Manager: portage-2.2.0_alpha174
RepoMan-Options: --force

---
 sci-chemistry/modelfree/ChangeLog             |    3 ++
 sci-chemistry/modelfree/modelfree-4.20.ebuild |   29 +++++++++++++------------
 2 files changed, 18 insertions(+), 14 deletions(-)

diff --git a/sci-chemistry/modelfree/ChangeLog b/sci-chemistry/modelfree/ChangeLog
index 7d88928..496cf46 100644
--- a/sci-chemistry/modelfree/ChangeLog
+++ b/sci-chemistry/modelfree/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  07 May 2013; Justin Lecher <jlec@gentoo.org> modelfree-4.20.ebuild:
+  Merge changes from curvefit
+
   03 Mar 2013; Justin Lecher <jlec@gentoo.org> modelfree-4.20.ebuild,
   metadata.xml:
   Add missing multilib.eclass; move to EAPI=5

diff --git a/sci-chemistry/modelfree/modelfree-4.20.ebuild b/sci-chemistry/modelfree/modelfree-4.20.ebuild
index c0865fb..b72c61b 100644
--- a/sci-chemistry/modelfree/modelfree-4.20.ebuild
+++ b/sci-chemistry/modelfree/modelfree-4.20.ebuild
@@ -11,34 +11,35 @@ HOMEPAGE="http://www.palmer.hs.columbia.edu/software/modelfree.html"
 SRC_URI="http://www.palmer.hs.columbia.edu/software/modelfree4_linux.tar.gz"
 
 SLOT="0"
+LICENSE="GPL-2"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-LICENSE="as-is"
 IUSE="doc examples"
 
-DEPEND=""
 RDEPEND="
-	sys-devel/gcc:4.1
 	sci-libs/blas-reference
-	sci-libs/lapack-reference
-"
+	sys-devel/gcc:4.1"
+DEPEND="dev-util/patchelf"
 
 S="${WORKDIR}"
 
+QA_PREBUILT="opt/bin/.*"
+
 src_install() {
+	local _exe
 	dosym ../../usr/$(get_libdir)/librefblas.so /opt/${PN}/libblas.so.3
 	dosym ../../usr/$(get_libdir)/libreflapack.so /opt/${PN}/liblapack.so.3
 
-	cat >> "${T}"/${PN} <<- EOF
-	#!${EPREFIX}/bin/bash
-	LD_LIBRARY_PATH="${EPREFIX}/opt/${PN}" "${EPREFIX}/opt/${PN}/${PN}4" \$@
-	EOF
-
 	exeinto /opt/bin
-	doexe "${T}"/${PN}
+	if use x86; then
+		_exe=./linux_32/${PN}4
+	elif use amd64; then
+		_exe=./linux_64/${PN}4
+	fi
+
+	patchelf --set-rpath "${EPREFIX}/opt/${PN}:${EPREFIX}/usr/$(get_libdir)/gcc/x86_64-pc-linux-gnu/4.1.2/" ${_exe}
 
-	exeinto /opt/${PN}
-	use amd64 && doexe linux_64/${PN}4
-	use x86 && doexe linux_32/${PN}4
+	doexe ${_exe}
+	dosym ${PN} "${EPREFIX}"/opt/bin/${PN}4
 
 	use doc && dodoc docs/{modelfree_manual.pdf,VERSIONS.README}
 	use examples && insinto /usr/share/${PN} && doins -r testing


             reply	other threads:[~2013-05-07 10:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-07 10:13 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-01-10 18:28 [gentoo-commits] proj/sci:master commit in: sci-chemistry/modelfree/ Andrew Ammerlaan
2015-03-30  6:03 Justin Lecher
2014-11-13 13:15 Justin Lecher
2013-05-07 11:24 Justin Lecher
2013-05-07 10:49 Justin Lecher
2013-05-07 10:49 Justin Lecher
2012-02-09 11:58 Justin Lecher
2012-02-09 11:56 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1367921576.15481c73e161e27792f1173560ea3aa91382347b.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox