diff options
author | Panagiotis Nikolaou <hostmaster@slackonly.com> | 2016-09-30 07:43:59 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-10-01 07:17:28 +0700 |
commit | 6d9dc4b5eacc2ed9960233789b10536a28179477 (patch) | |
tree | 4efd89c2f5f8c0bcd65b9f300e8f10c0caf6c351 /libraries/SimGear/SimGear.SlackBuild | |
parent | 1d580fa4bfa04daf7d974d4ae6d341c34ffa63b2 (diff) | |
download | slackbuilds-6d9dc4b5eacc2ed9960233789b10536a28179477.tar.gz |
libraries/SimGear: Updated for version 2016.3.1 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/SimGear/SimGear.SlackBuild')
-rw-r--r-- | libraries/SimGear/SimGear.SlackBuild | 31 |
1 files changed, 25 insertions, 6 deletions
diff --git a/libraries/SimGear/SimGear.SlackBuild b/libraries/SimGear/SimGear.SlackBuild index d53be6e2b2..abc4289c57 100644 --- a/libraries/SimGear/SimGear.SlackBuild +++ b/libraries/SimGear/SimGear.SlackBuild @@ -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 |