summaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-13 00:19:53 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:19:53 +0200
commitba667fcd98fbe8e1e5a09d569dbee580129554fc (patch)
treefcd2524eaaac99ecf44631871aefec9b61efd380 /academic
parent9625b9387af1f3819fe82d96a130b4f352436407 (diff)
downloadslackbuilds-ba667fcd98fbe8e1e5a09d569dbee580129554fc.tar.gz
academic/celestia: Updated for version 1.6.0
Diffstat (limited to 'academic')
-rw-r--r--academic/celestia/README6
-rw-r--r--academic/celestia/celestia.SlackBuild19
-rw-r--r--academic/celestia/celestia.info12
3 files changed, 23 insertions, 14 deletions
diff --git a/academic/celestia/README b/academic/celestia/README
index e9674e97f4..563f6bc11e 100644
--- a/academic/celestia/README
+++ b/academic/celestia/README
@@ -1,9 +1,11 @@
A real-time space simulation that lets you experience our universe
in three dimensions.
-There are four frontend possibilities to choose. The Glut and KDE one
-do work out of the box. The GTK frontend needs gtkglext (also available
+There are four frontend possibilities to choose. The Glut one works
+out of the box. The GTK frontend needs gtkglext (also available
from SlackBuilds.org). The Gnome frontend wasn't tested.
+The KDE frontend requires kde3 and will not work with the kde3 compat
+packages.
Celestia may use lua for its script engine, if available at compile time.
Lua is also available from SlackBuilds.org.
diff --git a/academic/celestia/celestia.SlackBuild b/academic/celestia/celestia.SlackBuild
index ce7ba55f81..f5a889536b 100644
--- a/academic/celestia/celestia.SlackBuild
+++ b/academic/celestia/celestia.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for celestia
-# Copyright 2008 Heinz Wiesinger <hmwiesinger@gmx.at>
+# Copyright 2008-2009 Heinz Wiesinger <pprkut@liwjatan.at>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=celestia
-VERSION=1.5.1
+VERSION=1.6.0
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -57,15 +60,17 @@ find . \
-exec chmod 644 {} \;
# Celestia can only be built with one frontend enabled. The
-# Default one is kde, but you are free to choose glut, gtk and
-# gnome as well, though they may require additional dependencies.
-FRONTEND=${FRONTEND:-kde}
+# Default one is gtk, but you are free to choose glut, gnome and
+# kde as well, though they may require additional dependencies.
+# Note that the kde frontend will only build with kde3
+FRONTEND=${FRONTEND:-gtk}
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
+ --libdir=/usr/lib$LIBDIRSUFFIX \
--localstatedir=/var \
--with-$FRONTEND \
--build=$ARCH-slackware-linux \
@@ -75,7 +80,7 @@ make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL README TODO TRANSLATORS \
+cp -a ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS README TRANSLATORS \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -84,4 +89,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/academic/celestia/celestia.info b/academic/celestia/celestia.info
index 3c0638f6fb..19f3f39439 100644
--- a/academic/celestia/celestia.info
+++ b/academic/celestia/celestia.info
@@ -1,8 +1,10 @@
PRGNAM="celestia"
-VERSION="1.5.1"
+VERSION="1.6.0"
HOMEPAGE="http://www.shatters.net/celestia/"
-DOWNLOAD="http://downloads.sourceforge.net/celestia/celestia-1.5.1.tar.gz"
-MD5SUM="df6854a2cf62d2e96612398c13b68fd2"
-MAINTAINER="ppr:kut"
-EMAIL="HMWiesinger@gmx.at"
+DOWNLOAD="http://downloads.sourceforge.net/celestia/celestia-1.6.0.tar.gz"
+DOWNLOAD_x86_64=""
+MD5SUM="9b96a8e7666ab5a26f032b9d605e023d"
+MD5SUM_x86_64=""
+MAINTAINER="pprkut"
+EMAIL="pprkut@liwjatan.at"
APPROVED="David Somero"