mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
academic/celestia: Updated for version 1.6.0
This commit is contained in:
parent
9625b9387a
commit
ba667fcd98
3 changed files with 23 additions and 14 deletions
|
@ -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.
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue