From: "Sebastien Fabbro" <bicatali@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-astronomy/galfit/
Date: Sun, 29 Jul 2012 22:38:39 +0000 (UTC) [thread overview]
Message-ID: <1343601501.ef4ea92a9baea7fa943faea17f1efcf5f2208454.bicatali@gentoo> (raw)
commit: ef4ea92a9baea7fa943faea17f1efcf5f2208454
Author: Sébastien Fabbro <sebfabbro <AT> gmail <DOT> com>
AuthorDate: Sun Jul 29 22:38:21 2012 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Sun Jul 29 22:38:21 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=ef4ea92a
sci-astronomy/galfit: add links to ncurses/tinfo
(Portage version: 2.2.0_alpha120/git/Linux x86_64, unsigned Manifest commit)
---
sci-astronomy/galfit/ChangeLog | 6 ++++++
...{galfit-3.0.4.ebuild => galfit-3.0.4-r1.ebuild} | 11 ++++++++++-
2 files changed, 16 insertions(+), 1 deletions(-)
diff --git a/sci-astronomy/galfit/ChangeLog b/sci-astronomy/galfit/ChangeLog
index e3550b8..6635ab6 100644
--- a/sci-astronomy/galfit/ChangeLog
+++ b/sci-astronomy/galfit/ChangeLog
@@ -2,6 +2,12 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*galfit-3.0.4-r1 (29 Jul 2012)
+
+ 29 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org> +galfit-3.0.4-r1.ebuild,
+ -galfit-3.0.4.ebuild:
+ sci-astronomy/galfit: add links to ncurses/tinfo
+
29 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org> galfit-3.0.4.ebuild:
sci-astronomy/galfit: manifest/new tar file
diff --git a/sci-astronomy/galfit/galfit-3.0.4.ebuild b/sci-astronomy/galfit/galfit-3.0.4-r1.ebuild
similarity index 70%
rename from sci-astronomy/galfit/galfit-3.0.4.ebuild
rename to sci-astronomy/galfit/galfit-3.0.4-r1.ebuild
index 38cb48f..6eaded0 100644
--- a/sci-astronomy/galfit/galfit-3.0.4.ebuild
+++ b/sci-astronomy/galfit/galfit-3.0.4-r1.ebuild
@@ -4,6 +4,8 @@
EAPI=4
+inherit multilib
+
DESCRIPTION="Galaxy morphology fitting program"
HOMEPAGE="http://www.csua.berkeley.edu/~cyp/work/galfit/galfit.html"
CURI="http://www.csua.berkeley.edu/~cyp/work/${PN}"
@@ -26,12 +28,19 @@ DEPEND=""
S="${WORKDIR}"
src_test() {
+ chmod +x galfit
+ ln -s "${EROOT}"/$(get_libdir)/libncurses.so.5 libtinfo.so.5
+ ln -s "${EROOT}"/usr/$(get_libdir)/libncurses.so libtinfo.so
cd galfit-example/EXAMPLE
- ../../galfit galfit.feedme
+ LD_LIBRARY_PATH=../.. ../../galfit galfit.feedme
}
src_install () {
dobin galfit
+ # was built on a distro where ncurses was spit with tinfo
+ dosym libncurses.so.5 /$(get_libdir)/libtinfo.so.5
+ dosym libncurses.so /usr/$(get_libdir)/libtinfo.so
+
use doc && newdoc "${DISTDIR}"/galfit.pdf README.pdf
if use examples; then
insinto /usr/share/doc/${PF}/examples
next reply other threads:[~2012-07-29 22:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-29 22:38 Sebastien Fabbro [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-08-22 16:05 [gentoo-commits] proj/sci:master commit in: sci-astronomy/galfit/ Sebastien Fabbro
2012-07-29 18:48 Sebastien Fabbro
2012-05-11 5:30 Sebastien Fabbro
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=1343601501.ef4ea92a9baea7fa943faea17f1efcf5f2208454.bicatali@gentoo \
--to=bicatali@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