diff options
author | Sébastien Fabbro <sebfabbro@gmail.com> | 2012-07-29 23:38:21 +0100 |
---|---|---|
committer | Sébastien Fabbro <sebfabbro@gmail.com> | 2012-07-29 23:38:21 +0100 |
commit | ef4ea92a9baea7fa943faea17f1efcf5f2208454 (patch) | |
tree | dd47570da87163f0224a0bc7b16c60a6b11295c0 /sci-astronomy | |
parent | sci-astronomy/psfex: fixed for newer plplot (diff) | |
download | sci-ef4ea92a9baea7fa943faea17f1efcf5f2208454.tar.gz sci-ef4ea92a9baea7fa943faea17f1efcf5f2208454.tar.bz2 sci-ef4ea92a9baea7fa943faea17f1efcf5f2208454.zip |
sci-astronomy/galfit: add links to ncurses/tinfo
(Portage version: 2.2.0_alpha120/git/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'sci-astronomy')
-rw-r--r-- | sci-astronomy/galfit/ChangeLog | 6 | ||||
-rw-r--r-- | sci-astronomy/galfit/galfit-3.0.4-r1.ebuild (renamed from sci-astronomy/galfit/galfit-3.0.4.ebuild) | 11 |
2 files changed, 16 insertions, 1 deletions
diff --git a/sci-astronomy/galfit/ChangeLog b/sci-astronomy/galfit/ChangeLog index e3550b862..6635ab6a3 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 index 38cb48f7f..6eaded084 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 |