diff options
author | Niklas Nille Åkerström <nille_kungen[AT]hotmail.com> | 2010-05-13 00:20:41 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:20:41 +0200 |
commit | 32a1b3910213d1600e17c252bb2dd607470386ee (patch) | |
tree | 308a4e0650e07110445f09de07142c487fbaa2f4 /audio/aften/aften.SlackBuild | |
parent | cc647341fddfe1cce079b796c0a0955abcf15498 (diff) |
audio/aften: Updated for version 0.0.8
Diffstat (limited to 'audio/aften/aften.SlackBuild')
-rw-r--r-- | audio/aften/aften.SlackBuild | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/audio/aften/aften.SlackBuild b/audio/aften/aften.SlackBuild index 6de555c3b8de..68e55ccaac9c 100644 --- a/audio/aften/aften.SlackBuild +++ b/audio/aften/aften.SlackBuild @@ -34,8 +34,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 @@ -59,6 +64,10 @@ mkdir oot ; cd oot make make install DESTDIR=$PKG +if [ "$LIBDIRSUFFIX" = "64" ]; then + mv $PKG/usr/lib $PKG/usr/lib64 +fi + ( cd $PKG find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null @@ -73,7 +82,7 @@ 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} if [ "$1" = "--cleanup" ]; then rm -rf $PKG $TMP/$PRGNAM-$VERSION |