mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
academic/celestia: Updated for version 1.5.1
This commit is contained in:
parent
56e2c1e138
commit
b81553072a
2 changed files with 15 additions and 7 deletions
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=celestia
|
||||
VERSION=1.5.0
|
||||
VERSION=1.5.1
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
@ -37,6 +37,8 @@ if [ "$ARCH" = "i486" ]; then
|
|||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
@ -48,7 +50,11 @@ rm -rf $PRGNAM-$VERSION
|
|||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-s .
|
||||
find . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
-exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-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
|
||||
|
@ -61,7 +67,9 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--with-$FRONTEND
|
||||
--with-$FRONTEND \
|
||||
--build=$ARCH-slackware-linux \
|
||||
--host=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
make install-strip DESTDIR=$PKG
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="celestia"
|
||||
VERSION="1.5.0"
|
||||
VERSION="1.5.1"
|
||||
HOMEPAGE="http://www.shatters.net/celestia/"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/celestia/celestia-1.5.0.tar.gz"
|
||||
MD5SUM="156bc1080d27906122945a20d84d4a82"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/celestia/celestia-1.5.1.tar.gz"
|
||||
MD5SUM="df6854a2cf62d2e96612398c13b68fd2"
|
||||
MAINTAINER="ppr:kut"
|
||||
EMAIL="HMWiesinger@gmx.at"
|
||||
APPROVED="rworkman"
|
||||
APPROVED="David Somero"
|
||||
|
|
Loading…
Reference in a new issue