diff options
author | Luis Henrique <lmello.009@gmail.com> | 2010-05-13 00:27:12 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:27:12 +0200 |
commit | f4c5becf1697398cab4c0cdad6ecdb1858f6ea4c (patch) | |
tree | 0b1ba700319e3c38b4fd8d4547c4252de8a08770 /games/stella/stella.SlackBuild | |
parent | 0eefec5a54e21839235443924de47a8d9b877dbe (diff) | |
download | slackbuilds-f4c5becf1697398cab4c0cdad6ecdb1858f6ea4c.tar.gz |
games/stella: Updated for version 3.0
Diffstat (limited to 'games/stella/stella.SlackBuild')
-rw-r--r-- | games/stella/stella.SlackBuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/games/stella/stella.SlackBuild b/games/stella/stella.SlackBuild index 3a151ac336..00370a4f1e 100644 --- a/games/stella/stella.SlackBuild +++ b/games/stella/stella.SlackBuild @@ -5,7 +5,7 @@ # Written by Luis Henrique <lmello.009@gmail.com> PRGNAM=stella -VERSION=${VERSION:-2.7.3a} +VERSION=${VERSION:-3.0} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -17,10 +17,13 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e # Exit on most errors @@ -42,6 +45,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --datadir=/usr/share/$PRGNAM \ --disable-static \ @@ -54,7 +58,7 @@ make install DESTDIR=$PKG find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ xargs strip --strip-unneeded 2> /dev/null || true find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null + xargs strip --strip-unneeded 2> /dev/null || true ) mkdir -p $PKG/usr/share/{applications,pixmaps} @@ -73,4 +77,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |