From 7b1228c9b34f66df0c7423ad9263ad4b03b9c90e Mon Sep 17 00:00:00 2001 From: JK Wood Date: Sun, 24 Jul 2011 12:16:37 -0500 Subject: games/vbam: Updated for version r1001. Signed-off-by: Robby Workman --- games/vbam/vbam.SlackBuild | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'games/vbam/vbam.SlackBuild') diff --git a/games/vbam/vbam.SlackBuild b/games/vbam/vbam.SlackBuild index 437351b09c..7e67e748bf 100644 --- a/games/vbam/vbam.SlackBuild +++ b/games/vbam/vbam.SlackBuild @@ -15,20 +15,18 @@ # email address, I may be able to see what you did # wrong and prevent it from happening in the future. # In which case, I may just send YOU five dollars. -# + # Modified by the SlackBuilds.org project. PRGNAM=vbam -VERSION=r856 +VERSION=r1001 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -54,6 +52,9 @@ fi set -e +# Change this to disable the GTK frontend +BUILD_GTK=${BUILD_GTK:-yes} + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -66,14 +67,11 @@ find . \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Fix an invalid conversion from const char to char -patch -p1 < $CWD/vbam-r856-debugger.cpp.diff - cmake . \ -DCMAKE_C_FLAGS="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX="/usr" \ - -DNO_GTK=1 + -DENABLE_GTK=${BUILD_GTK} make make install DESTDIR=$PKG -- cgit v1.2.3