/[gentoo-x86]/app-sci/celestia/celestia-1.2.4.ebuild
Gentoo

Contents of /app-sci/celestia/celestia-1.2.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Aug 19 04:24:43 2004 UTC (15 years, 2 months ago) by morfic
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Ditch old versions

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-sci/celestia/celestia-1.2.4.ebuild,v 1.3 2004/07/14 01:50:00 agriffis Exp $
4
5 inherit flag-o-matic
6
7 IUSE="gtk gnome"
8
9 DESCRIPTION="Celestia is a free real-time space simulation that lets you experience our universe in three dimensions"
10 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
11 HOMEPAGE="http://www.shatters.net/celestia"
12
13 SLOT="0"
14 LICENSE="GPL-2"
15 KEYWORDS="x86"
16
17 DEPEND="gtk? ( =x11-libs/gtk+-1.2*
18 <x11-libs/gtkglarea-1.99.0 )
19 gnome? ( =gnome-base/gnome-libs-1.4* )
20 >=media-libs/glut-3.7-r2
21 virtual/glu
22 media-libs/jpeg
23 media-libs/libpng"
24
25 src_unpack() {
26 unpack ${A}
27 cd ${S}
28
29 patch -p1 < ${FILESDIR}/celestia-gcc3.patch
30 }
31
32 src_compile() {
33 local myconf
34
35 filter-flags "-funroll-loops -frerun-loop-opt"
36
37 # currently celestia's "gtk support" requires gnome
38 use gtk || myconf="--without-gtk"
39 use gnome || myconf="--without-gtk"
40
41 ./configure --prefix=/usr ${myconf} || die
42
43 emake all || die
44 }
45
46 src_install() {
47 make install prefix=${D}/usr
48
49 dodoc AUTHORS COPYING NEWS README TODO controls.txt
50 dohtml manual/*.html manual/*.css
51 }

  ViewVC Help
Powered by ViewVC 1.1.20