diff options
author | Heinz Wiesinger <pprkut@liwjatan.at> | 2010-05-13 00:19:53 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:19:53 +0200 |
commit | ba667fcd98fbe8e1e5a09d569dbee580129554fc (patch) | |
tree | fcd2524eaaac99ecf44631871aefec9b61efd380 /academic/celestia/celestia.SlackBuild | |
parent | 9625b9387af1f3819fe82d96a130b4f352436407 (diff) | |
download | slackbuilds-ba667fcd98fbe8e1e5a09d569dbee580129554fc.tar.gz |
academic/celestia: Updated for version 1.6.0
Diffstat (limited to 'academic/celestia/celestia.SlackBuild')
-rw-r--r-- | academic/celestia/celestia.SlackBuild | 19 |
1 files changed, 12 insertions, 7 deletions
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} |