From b8c5e7857befdce73a49f35026b813441dcc58dc Mon Sep 17 00:00:00 2001 From: Dugan Chen Date: Tue, 1 Jan 2013 13:19:46 -0500 Subject: games/vbam: Updated for version r1138, only builds gvbam now. Signed-off-by: dsomero --- games/vbam/vbam.SlackBuild | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) (limited to 'games/vbam/vbam.SlackBuild') diff --git a/games/vbam/vbam.SlackBuild b/games/vbam/vbam.SlackBuild index ce0a618a8fe0..a37712a0d0f3 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/* \ -- cgit v1.2.3