diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2010-06-28 12:17:41 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2010-06-28 12:17:41 -0400 |
commit | 479aeb2b3a042293245c5fd160812e2fe86def5a (patch) | |
tree | 80cb192d4a6136b6bb6ffb17b8deb32720280f9f /games/desmume/desmume.SlackBuild | |
parent | fa5d9a0127895a6cc917a8bc20ea6bed29cd5e28 (diff) |
games/desmume: Updated for version 0.9.6.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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 b5804c8e65aac..bc6f2bbda013b 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 |