diff options
Diffstat (limited to 'games/desmume/desmume.SlackBuild')
-rw-r--r-- | games/desmume/desmume.SlackBuild | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/games/desmume/desmume.SlackBuild b/games/desmume/desmume.SlackBuild index b5804c8e65..bc6f2bbda0 100644 --- a/games/desmume/desmume.SlackBuild +++ b/games/desmume/desmume.SlackBuild @@ -3,16 +3,14 @@ # Written by Larry Hajali <larryhaja[at]gmail[dot]com> PRGNAM=desmume -VERSION=${VERSION:-0.9.5} +VERSION=0.9.6 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 @@ -42,7 +40,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION-1.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find . \ @@ -52,7 +50,7 @@ find . \ -exec chmod 644 {} \; # Fix end-of-line encoding. -sed -i 's/\r//' AUTHORS ChangeLog +sed -i 's/\r//' AUTHORS CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -62,23 +60,21 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-osmesa \ --enable-gdb-stub \ --enable-wifi \ + --enable-openal \ --with-x \ --build=$ARCH-slackware-linux make make install DESTDIR=$PKG -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +find $PKG/usr/man -type f -exec gzip -9 {} \; mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS ChangeLog COPYING INSTALL README README.LIN \ + AUTHORS ChangeLog COPYING INSTALL README README.LIN {dsv,dsm}.txt \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |