aboutsummaryrefslogtreecommitdiff
path: root/games/FlightGear-data
diff options
context:
space:
mode:
authorСимон Болоканов <sbolokanov@abv.bg>2015-02-22 14:17:39 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-22 19:44:19 +0700
commit8a0a298925c78fbfba0d289dd2c3f7a0ba37d8c3 (patch)
treecca2ffede6ffd2983be96789a77fd57a0af4d411 /games/FlightGear-data
parent0832281da0e2b7731ec4664480940b1777bd45e4 (diff)
games/FlightGear-data: Updated for version 3.4.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/FlightGear-data')
-rw-r--r--games/FlightGear-data/FlightGear-data.SlackBuild29
-rw-r--r--games/FlightGear-data/FlightGear-data.info6
2 files changed, 8 insertions, 27 deletions
diff --git a/games/FlightGear-data/FlightGear-data.SlackBuild b/games/FlightGear-data/FlightGear-data.SlackBuild
index d65d1f8eb9b6..98093352e423 100644
--- a/games/FlightGear-data/FlightGear-data.SlackBuild
+++ b/games/FlightGear-data/FlightGear-data.SlackBuild
@@ -3,37 +3,18 @@
# Written by Diego Pantano <poplin.dp@gmail.com>
PRGNAM=FlightGear-data
-VERSION=${VERSION:-2.12.0}
+VERSION=${VERSION:-3.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
+# Data package, no binaries
+ARCH=noarch
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
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"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
@@ -50,9 +31,9 @@ find -L . \
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
( cd FlightGear
- mv ChangeLog COPYING NEWS README README-textures-ng AUTHORS Thanks \
+ mv AUTHORS ChangeLog COPYING NEWS README* Thanks \
$PKG/usr/doc/$PRGNAM-$VERSION
- rm -f .gitignore runfgfs.bat )
+ rm -f .gitignore *.bat )
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/games/FlightGear-data/FlightGear-data.info b/games/FlightGear-data/FlightGear-data.info
index 93a764cd74b7..6eb54136cae4 100644
--- a/games/FlightGear-data/FlightGear-data.info
+++ b/games/FlightGear-data/FlightGear-data.info
@@ -1,8 +1,8 @@
PRGNAM="FlightGear-data"
-VERSION="2.12.0"
+VERSION="3.4.0"
HOMEPAGE="http://www.flightgear.org/"
-DOWNLOAD="http://ftp.icm.edu.pl/packages/flightgear/Shared/FlightGear-data-2.12.0.tar.bz"
-MD5SUM="049cfa1f7bc7de528630c2a41c6ad6eb"
+DOWNLOAD="http://ftp.icm.edu.pl/packages/flightgear/Shared/FlightGear-data-3.4.0.tar.bz2"
+MD5SUM="42a8df9063100738c7315650278705e1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""