libraries/SimGear: Updated for version 2016.3.1 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
1d580fa4bf
commit
6d9dc4b5ea
|
@ -1,18 +1,36 @@
|
|||
#!/bin/sh
|
||||
# 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
|
||||
SRCNAM=simgear
|
||||
VERSION=${VERSION:-2016.2.1}
|
||||
VERSION=${VERSION:-2016.3.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
|
@ -23,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
|
|||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
|
@ -60,6 +78,7 @@ cd build
|
|||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DSIMGEAR_SHARED=ON \
|
||||
-DSYSTEM_EXPAT=ON \
|
||||
-DENABLE_TESTS=OFF \
|
||||
-DCMAKE_BUILD_TYPE=Release ..
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="SimGear"
|
||||
VERSION="2016.2.1"
|
||||
HOMEPAGE="http://www.simgear.org/"
|
||||
DOWNLOAD="https://sourceforge.net/projects/flightgear/files/release-2016.2/simgear-2016.2.1.tar.bz2"
|
||||
MD5SUM="7bd21e63ffb83109f530627c593d94cd"
|
||||
VERSION="2016.3.1"
|
||||
HOMEPAGE="http://wiki.flightgear.org/SimGear"
|
||||
DOWNLOAD="https://sourceforge.net/projects/flightgear/files/release-2016.3/simgear-2016.3.1.tar.bz2"
|
||||
MD5SUM="4c422dac10a91ab6315153ea9441e71c"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="OpenSceneGraph freealut plib"
|
||||
MAINTAINER="Diego Pantano"
|
||||
EMAIL="poplin_dp@gmail.com"
|
||||
MAINTAINER="Panagiotis Nikolaou"
|
||||
EMAIL="hostmaster@slackonly.com"
|
||||
|
|
|
@ -13,7 +13,7 @@ SimGear: building blocks for quickly assembling 3d simulations, games, and
|
|||
SimGear: visualization applications.
|
||||
SimGear:
|
||||
SimGear:
|
||||
SimGear: homepage: http://www.simgear.org/
|
||||
SimGear: homepage: http://wiki.flightgear.org/SimGear
|
||||
SimGear:
|
||||
SimGear:
|
||||
SimGear:
|
||||
|
|
Loading…
Reference in New Issue