aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-11-18 18:16:53 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-11-19 01:10:57 -0600
commit1403add5c8fd1e4e3ada03cc59a7d6f68ccdfac4 (patch)
treee617971a08dcdfe00ab18024bd6da99f8b373104 /libraries
parent1f0078a65474c77a45d42701084f6fdc3d9c5817 (diff)
libraries/SimGear: Updated for version 2.12.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/SimGear/SimGear.SlackBuild19
-rw-r--r--libraries/SimGear/SimGear.info6
2 files changed, 13 insertions, 12 deletions
diff --git a/libraries/SimGear/SimGear.SlackBuild b/libraries/SimGear/SimGear.SlackBuild
index e474398839f8..340dabf6d70f 100644
--- a/libraries/SimGear/SimGear.SlackBuild
+++ b/libraries/SimGear/SimGear.SlackBuild
@@ -2,10 +2,11 @@
# Slackware build script for SimGear
# Written by Diego Pantano <poplin.dp@gmail.com>
+# Modified by the SlackBuilds.org project
PRGNAM=SimGear
SRCNAM=simgear
-VERSION=${VERSION:-2.8.0}
+VERSION=${VERSION:-2.12.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -47,11 +48,11 @@ rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.?z*
cd $SRCNAM-$VERSION
chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p build
cd build
@@ -59,14 +60,14 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DMAN_INSTALL_DIR=/usr/man \
+ -DSIMGEAR_SHARED=ON \
+ -DSYSTEM_EXPAT=ON \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
cd ..
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/libraries/SimGear/SimGear.info b/libraries/SimGear/SimGear.info
index d220d9214388..2a083984320e 100644
--- a/libraries/SimGear/SimGear.info
+++ b/libraries/SimGear/SimGear.info
@@ -1,8 +1,8 @@
PRGNAM="SimGear"
-VERSION="2.8.0"
+VERSION="2.12.0"
HOMEPAGE="http://www.simgear.org/"
-DOWNLOAD="ftp://mirrors.ibiblio.org/pub/mirrors/simgear/ftp/Source/simgear-2.8.0.tar.bz2"
-MD5SUM="0a8c77439ba7879b354a8fbcb7901ce3"
+DOWNLOAD="ftp://mirrors.ibiblio.org/pub/mirrors/simgear/ftp/Source/simgear-2.12.0.tar.bz2"
+MD5SUM="dfc752f4759a2f795b7cdc9dad28411e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="OpenSceneGraph freealut plib"