summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-08-05 09:38:56 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-08-05 09:38:56 +0000
commit716e7155fa98d09afd76cb02a4db6f2e4d06baf6 (patch)
tree6bf543aa149862559f33089f66578255222576c3 /x11-misc/xplanet
parentmodernised (diff)
downloadhistorical-716e7155fa98d09afd76cb02a4db6f2e4d06baf6.tar.gz
historical-716e7155fa98d09afd76cb02a4db6f2e4d06baf6.tar.bz2
historical-716e7155fa98d09afd76cb02a4db6f2e4d06baf6.zip
modernised
Diffstat (limited to 'x11-misc/xplanet')
-rw-r--r--x11-misc/xplanet/xplanet-0.93-r1.ebuild39
1 files changed, 16 insertions, 23 deletions
diff --git a/x11-misc/xplanet/xplanet-0.93-r1.ebuild b/x11-misc/xplanet/xplanet-0.93-r1.ebuild
index 2e7ad414e6fe..e4acb58014d7 100644
--- a/x11-misc/xplanet/xplanet-0.93-r1.ebuild
+++ b/x11-misc/xplanet/xplanet-0.93-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xplanet/xplanet-0.93-r1.ebuild,v 1.6 2002/08/02 17:54:50 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xplanet/xplanet-0.93-r1.ebuild,v 1.7 2002/08/05 09:38:56 seemant Exp $
S=${WORKDIR}/${P}
DESCRIPTION="A program to render images of the earth into the X root window"
@@ -14,29 +14,23 @@ DEPEND="virtual/x11"
src_compile() {
local myconf
- if [ "`use opengl`" ]
- then
- myconf="--with-gl --with-glut --with-animation"
- else
- myconf="--with-gl=no --with-glut=no --with-animation=no"
- fi
- if [ "`use gif`" ]
- then
- myconf="$myconf --with-gif"
- else
- myconf="$myconf --with-gif=no"
- fi
- if [ "`use X`" ]
- then
- myconf="$myconf --with-x"
- else
- myconf="$myconf --with-x=no"
- fi
+ use opengl \
+ && myconf="--with-gl --with-glut --with-animation" \
+ || myconf="--with-gl=no --with-glut=no --with-animation=no"
- ./configure --prefix=/usr \
- --with-freetype=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 \
- $myconf || die
+ --with-freetype=no \
+ ${myconf} || die
# xplanet doesn't like to build parallel
# This fix taken from the gimp ebuild
make || die
@@ -45,4 +39,3 @@ src_compile() {
src_install () {
make prefix=${D}/usr mandir=${D}/usr/share/man install || die
}
-