Gentoo Archives: gentoo-commits

From: Sebastien Fabbro <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-astronomy/galfit/
Date: Sun, 29 Jul 2012 22:38:49
Message-Id: 1343601501.ef4ea92a9baea7fa943faea17f1efcf5f2208454.bicatali@gentoo
1 commit: ef4ea92a9baea7fa943faea17f1efcf5f2208454
2 Author: Sébastien Fabbro <sebfabbro <AT> gmail <DOT> com>
3 AuthorDate: Sun Jul 29 22:38:21 2012 +0000
4 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 29 22:38:21 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=ef4ea92a
7
8 sci-astronomy/galfit: add links to ncurses/tinfo
9
10 (Portage version: 2.2.0_alpha120/git/Linux x86_64, unsigned Manifest commit)
11
12 ---
13 sci-astronomy/galfit/ChangeLog | 6 ++++++
14 ...{galfit-3.0.4.ebuild => galfit-3.0.4-r1.ebuild} | 11 ++++++++++-
15 2 files changed, 16 insertions(+), 1 deletions(-)
16
17 diff --git a/sci-astronomy/galfit/ChangeLog b/sci-astronomy/galfit/ChangeLog
18 index e3550b8..6635ab6 100644
19 --- a/sci-astronomy/galfit/ChangeLog
20 +++ b/sci-astronomy/galfit/ChangeLog
21 @@ -2,6 +2,12 @@
22 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
23 # $Header: $
24
25 +*galfit-3.0.4-r1 (29 Jul 2012)
26 +
27 + 29 Jul 2012; Sébastien Fabbro <bicatali@g.o> +galfit-3.0.4-r1.ebuild,
28 + -galfit-3.0.4.ebuild:
29 + sci-astronomy/galfit: add links to ncurses/tinfo
30 +
31 29 Jul 2012; Sébastien Fabbro <bicatali@g.o> galfit-3.0.4.ebuild:
32 sci-astronomy/galfit: manifest/new tar file
33
34
35 diff --git a/sci-astronomy/galfit/galfit-3.0.4.ebuild b/sci-astronomy/galfit/galfit-3.0.4-r1.ebuild
36 similarity index 70%
37 rename from sci-astronomy/galfit/galfit-3.0.4.ebuild
38 rename to sci-astronomy/galfit/galfit-3.0.4-r1.ebuild
39 index 38cb48f..6eaded0 100644
40 --- a/sci-astronomy/galfit/galfit-3.0.4.ebuild
41 +++ b/sci-astronomy/galfit/galfit-3.0.4-r1.ebuild
42 @@ -4,6 +4,8 @@
43
44 EAPI=4
45
46 +inherit multilib
47 +
48 DESCRIPTION="Galaxy morphology fitting program"
49 HOMEPAGE="http://www.csua.berkeley.edu/~cyp/work/galfit/galfit.html"
50 CURI="http://www.csua.berkeley.edu/~cyp/work/${PN}"
51 @@ -26,12 +28,19 @@ DEPEND=""
52 S="${WORKDIR}"
53
54 src_test() {
55 + chmod +x galfit
56 + ln -s "${EROOT}"/$(get_libdir)/libncurses.so.5 libtinfo.so.5
57 + ln -s "${EROOT}"/usr/$(get_libdir)/libncurses.so libtinfo.so
58 cd galfit-example/EXAMPLE
59 - ../../galfit galfit.feedme
60 + LD_LIBRARY_PATH=../.. ../../galfit galfit.feedme
61 }
62
63 src_install () {
64 dobin galfit
65 + # was built on a distro where ncurses was spit with tinfo
66 + dosym libncurses.so.5 /$(get_libdir)/libtinfo.so.5
67 + dosym libncurses.so /usr/$(get_libdir)/libtinfo.so
68 +
69 use doc && newdoc "${DISTDIR}"/galfit.pdf README.pdf
70 if use examples; then
71 insinto /usr/share/doc/${PF}/examples