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

Contents of /app-sci/celestia/celestia-1.2.2.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.2.ebuild,v 1.3 2004/07/14 01:50:00 agriffis Exp $
4
5 IUSE="gtk gnome"
6
7 DESCRIPTION="Celestia is a free real-time space simulation that lets you experience our universe in three dimensions"
8 SRC_URI="mirror://sourceforge/celestia/${P}.tar.gz"
9 HOMEPAGE="http://www.shatters.net/celestia"
10
11 SLOT="0"
12 LICENSE="GPL-2"
13 KEYWORDS="x86"
14
15 DEPEND="gtk? ( =x11-libs/gtk+-1.2*
16 <x11-libs/gtkglarea-1.99.0 )
17 gnome? ( =gnome-base/gnome-libs-1.4* )
18 >=media-libs/glut-3.7-r2
19 virtual/glu
20 media-libs/jpeg
21 media-libs/libpng"
22
23 src_compile() {
24
25 local myconf
26
27 # currently celestia's "gtk support" requires gnome
28 use gtk || myconf="--without-gtk"
29 use gnome || myconf="--without-gtk"
30
31 ./configure --prefix=/usr ${myconf} || die
32 emake all || die
33 }
34
35 src_install() {
36
37 make install prefix=${D}/usr
38
39 dodoc AUTHORS COPYING NEWS README TODO controls.txt
40 dohtml manual/*.html manual/*.css
41 }

  ViewVC Help
Powered by ViewVC 1.1.20