summaryrefslogtreecommitdiff
path: root/games/FlightGear-data/FlightGear-data.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/FlightGear-data/FlightGear-data.SlackBuild')
-rw-r--r--games/FlightGear-data/FlightGear-data.SlackBuild29
1 files changed, 5 insertions, 24 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