libraries/SimGear: Updated for version 2016.3.1 + new maintainer.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Panagiotis Nikolaou 2016-09-30 07:43:59 +07:00 committed by Willy Sudiarto Raharjo
parent 1d580fa4bf
commit 6d9dc4b5ea
No known key found for this signature in database
GPG key ID: 887B8374D7333381
3 changed files with 32 additions and 13 deletions

View file

@ -1,18 +1,36 @@
#!/bin/sh #!/bin/sh
# Slackware build script for SimGear # Slackware build script for SimGear
# Written by Diego Pantano <poplin.dp@gmail.com>
# Modified by the SlackBuilds.org project # Copyright before version 2016.3.1 by Diego Pantano <poplin.dp@gmail.com>
# Copyright 2016 Panagiotis Nikolaou, Karlovasi Samos, Gr
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=SimGear PRGNAM=SimGear
SRCNAM=simgear SRCNAM=simgear
VERSION=${VERSION:-2016.2.1} VERSION=${VERSION:-2016.3.1}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i586 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
@ -23,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686" SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686" SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@ -60,6 +78,7 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DSIMGEAR_SHARED=ON \ -DSIMGEAR_SHARED=ON \
-DSYSTEM_EXPAT=ON \ -DSYSTEM_EXPAT=ON \
-DENABLE_TESTS=OFF \
-DCMAKE_BUILD_TYPE=Release .. -DCMAKE_BUILD_TYPE=Release ..
make make
make install DESTDIR=$PKG make install DESTDIR=$PKG

View file

@ -1,10 +1,10 @@
PRGNAM="SimGear" PRGNAM="SimGear"
VERSION="2016.2.1" VERSION="2016.3.1"
HOMEPAGE="http://www.simgear.org/" HOMEPAGE="http://wiki.flightgear.org/SimGear"
DOWNLOAD="https://sourceforge.net/projects/flightgear/files/release-2016.2/simgear-2016.2.1.tar.bz2" DOWNLOAD="https://sourceforge.net/projects/flightgear/files/release-2016.3/simgear-2016.3.1.tar.bz2"
MD5SUM="7bd21e63ffb83109f530627c593d94cd" MD5SUM="4c422dac10a91ab6315153ea9441e71c"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="OpenSceneGraph freealut plib" REQUIRES="OpenSceneGraph freealut plib"
MAINTAINER="Diego Pantano" MAINTAINER="Panagiotis Nikolaou"
EMAIL="poplin_dp@gmail.com" EMAIL="hostmaster@slackonly.com"

View file

@ -13,7 +13,7 @@ SimGear: building blocks for quickly assembling 3d simulations, games, and
SimGear: visualization applications. SimGear: visualization applications.
SimGear: SimGear:
SimGear: SimGear:
SimGear: homepage: http://www.simgear.org/ SimGear: homepage: http://wiki.flightgear.org/SimGear
SimGear: SimGear:
SimGear: SimGear:
SimGear: SimGear: