Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-astronomy/xephem: ChangeLog xephem-3.7.3.ebuild
Date: Thu, 26 Jun 2008 12:12:49
Message-Id: E1KBqLD-00047D-PA@stork.gentoo.org
1 bicatali 08/06/26 12:12:43
2
3 Modified: ChangeLog
4 Added: xephem-3.7.3.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.23 sci-astronomy/xephem/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/xephem/ChangeLog?rev=1.23&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/xephem/ChangeLog?rev=1.23&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/xephem/ChangeLog?r1=1.22&r2=1.23
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/xephem/ChangeLog,v
19 retrieving revision 1.22
20 retrieving revision 1.23
21 diff -u -r1.22 -r1.23
22 --- ChangeLog 2 May 2008 11:52:53 -0000 1.22
23 +++ ChangeLog 26 Jun 2008 12:12:43 -0000 1.23
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sci-astronomy/xephem
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/xephem/ChangeLog,v 1.22 2008/05/02 11:52:53 maekke Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/xephem/ChangeLog,v 1.23 2008/06/26 12:12:43 bicatali Exp $
29 +
30 +*xephem-3.7.3 (26 Jun 2008)
31 +
32 + 26 Jun 2008; Sébastien Fabbro <bicatali@g.o> +xephem-3.7.3.ebuild:
33 + Version bump
34
35 02 May 2008; Markus Meier <maekke@g.o> xephem-3.7.2.ebuild:
36 block media-gfx/feh, bug #204975
37
38
39
40 1.1 sci-astronomy/xephem/xephem-3.7.3.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/xephem/xephem-3.7.3.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/xephem/xephem-3.7.3.ebuild?rev=1.1&content-type=text/plain
44
45 Index: xephem-3.7.3.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sci-astronomy/xephem/xephem-3.7.3.ebuild,v 1.1 2008/06/26 12:12:43 bicatali Exp $
50
51 inherit eutils
52
53 DESCRIPTION="Interactive tool for astronomical ephemeris and sky simulation"
54 SRC_URI="http://www.clearskyinstitute.com/xephem/${P}.tar.gz"
55 HOMEPAGE="http://www.clearskyinstitute.com/xephem"
56 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
57 IUSE=""
58 SLOT="0"
59 LICENSE="as-is"
60 DEPEND="!media-gfx/feh
61 virtual/motif"
62
63 src_unpack() {
64 unpack ${A}
65 cd "${S}"
66 for i in libastro/Makefile libip/Makefile libjpegd/Makefile \
67 liblilxml/Makefile GUI/xephem/Makefile GUI/xephem/tools/*/Makefile ; do
68 einfo "Fixing CFLAGS in ${i}"
69 sed -e "s~^CFLAGS[ ]*=\(.*\)-O2\(.*\)~CFLAGS= \1 \2 ${CFLAGS}~" \
70 -i ${i} \
71 || die "sed failed"
72 done
73 sed -e 's~^CFLAGS[ ]*=\(.*\)$(CLDFLAGS)\(.*\)~CFLAGS=\1 \2~' \
74 -i GUI/xephem/Makefile \
75 || die "sed in GUI/xephem failed"
76 }
77
78 src_compile() {
79
80 cd libastro
81 emake || die "emake failed"
82 local myldflags
83 cd "${S}"
84 for dir in libip liblilxml libjpegd GUI/xephem/tools/* GUI/xephem; do
85 echo "going into ${dir}"
86 cd "${S}"/${dir}
87 if [ ${dir:0:3} = "lib" ]; then
88 myldflags=""
89 else
90 myldflags="${CLDFLAGS}"
91 fi
92 emake \
93 MOTIFI="/usr/include" \
94 MOTIFL="/usr/$(get_libdir)" \
95 CLDFLAGS="${myldflags}" \
96 || die "emake in ${dir} failed"
97 done
98 }
99
100 src_install() {
101
102 into /usr
103 cd "${S}"/GUI/xephem
104 dobin xephem || die "dobin xephem failed"
105 for file in tools/indi/{evalINDI,getINDI,setINDI,tmount,ota,wx,cam,security,indiserver} \
106 tools/{lx200xed/lx200xed,xedb/xedb,xephemdbd/xephemdbd}; do
107 dobin ${file} || die "dobin ${file} failed"
108 done
109 doman xephem.1 tools/*/*.1
110 mv tools .. # do not install tool sources into share directory
111 for i in $(find . -mindepth 1 -type d); do
112 insinto /usr/share/${PN}/${i}
113 doins ${i}/*
114 done
115
116 echo > "${S}/XEphem" "XEphem.ShareDir: /usr/share/${PN}"
117 insinto /usr/share/X11/app-defaults
118 has_version '<x11-base/xorg-x11-7.0' && \
119 insinto /etc/X11/app-defaults
120 doins "${S}"/XEphem
121
122 cd "${S}"
123 dodoc Copyright README INSTALL
124 newicon GUI/xephem/XEphem.png ${PN}.png
125 make_desktop_entry xephem XEphem ${PN}
126 }
127
128
129
130 --
131 gentoo-commits@l.g.o mailing list