blob: 3c32dad1f4d6ad336d93f5f957fc987b9e94284f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/xplanet/xplanet-0.93-r1.ebuild,v 1.9 2003/02/13 17:20:56 vapier Exp $
S=${WORKDIR}/${P}
DESCRIPTION="A program to render images of the earth into the X root window"
SRC_URI="mirror://sourceforge/xplanet/${P}.tar.gz"
HOMEPAGE="http://xplanet.sourceforge.net/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc"
DEPEND="virtual/x11"
src_compile() {
local myconf
use opengl \
&& myconf="--with-gl --with-glut --with-animation" \
|| myconf="--with-gl=no --with-glut=no --with-animation=no"
use gif \
&& myconf="${myconf} --with-gif" \
|| myconf="${myconf} --with-gif=no"
use X \
&& myconf="${myconf} --with-x" \
|| myconf="${myconf} --with-x=no"
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--with-freetype=no \
${myconf} || die
# xplanet doesn't like to build parallel
# This fix taken from the gimp ebuild
make || die
}
src_install () {
make prefix=${D}/usr mandir=${D}/usr/share/man install || die
}
|