aboutsummaryrefslogtreecommitdiff
path: root/games/vbam/vbam.SlackBuild
diff options
context:
space:
mode:
authorDugan Chen <thedoogster [at] gmail [dot] com>2013-01-01 13:19:46 -0500
committerdsomero <xgizzmo@slackbuilds.org>2013-01-01 13:19:46 -0500
commitb8c5e7857befdce73a49f35026b813441dcc58dc (patch)
tree2ee0c605ba697f7a59f678563bbc6effcfb84489 /games/vbam/vbam.SlackBuild
parenta0191700319f061dc8af5ae384634c7aea01c023 (diff)
games/vbam: Updated for version r1138, only builds gvbam now.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'games/vbam/vbam.SlackBuild')
-rw-r--r--games/vbam/vbam.SlackBuild29
1 files changed, 12 insertions, 17 deletions
diff --git a/games/vbam/vbam.SlackBuild b/games/vbam/vbam.SlackBuild
index ce0a618a8fe03..a37712a0d0f3e 100644
--- a/games/vbam/vbam.SlackBuild
+++ b/games/vbam/vbam.SlackBuild
@@ -22,10 +22,12 @@
# Modified by the SlackBuilds.org project.
PRGNAM=vbam
-VERSION=r1131
+VERSION=r1138
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCVER=1.8.0.1138
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -59,21 +61,16 @@ fi
set -e
-# Set to ON to enable the GTK frontend
-GTK=${GTK:-OFF}
-
-# Set to ON to enable the WxWidgets frontend
-WX=${WX:-OFF}
-
# Set to ON to enable FFMPEG A/V recording.
FFMPEG=${FFMPEG:-OFF}
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION-src.tar.?z*
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRCVER
+mkdir -p $PRGNAM-$SRCVER
+cd $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$SRCVER-src.tar.?z*
chown -R root:root .
find . \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
@@ -86,9 +83,9 @@ cmake . \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DENABLE_ASM_CORE=${ASM} \
-DENABLE_ASM_SCALERS=${ASM} \
- -DENABLE_GTK=${GTK} \
- -DENABLE_WX=${WX} \
- -DENABLE_FFMPEG=${FFMPEG}
+ -DENABLE_FFMPEG=${FFMPEG} \
+ -DENABLE_DEBUGGER=OFF \
+ -DENABLE_SDL=OFF
make
make install DESTDIR=$PKG
@@ -96,10 +93,8 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mv $PKG/etc/vbam.cfg $PKG/etc/vbam.cfg.new
-
-mkdir -p $PKG/usr/man
-gzip -9c debian/vbam.1 > $PKG/usr/man/vbam.1.gz
+mkdir -p $PKG/usr/man/man1
+gzip -9c debian/gvbam.1 > $PKG/usr/man/man1/gvbam.1.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a doc/* \