summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 d65d1f8eb9..98093352e4 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 93a764cd74..6eb54136ca 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=""