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 | |
parent | cc647341fddfe1cce079b796c0a0955abcf15498 (diff) |
audio/aften: Updated for version 0.0.8
Diffstat (limited to 'audio/aften')
-rw-r--r-- | audio/aften/aften.SlackBuild | 11 | ||||
-rw-r--r-- | audio/aften/aften.info | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/audio/aften/aften.SlackBuild b/audio/aften/aften.SlackBuild index 6de555c3b8de1..68e55ccaac9c3 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 diff --git a/audio/aften/aften.info b/audio/aften/aften.info index ad1bd51f9befc..e9615074cc65b 100644 --- a/audio/aften/aften.info +++ b/audio/aften/aften.info @@ -2,7 +2,9 @@ PRGNAM="aften" VERSION="0.0.8" HOMEPAGE="http://aften.sourceforge.net/" DOWNLOAD="http://downloads.sourceforge.net/aften/aften-0.0.8.tar.bz2" +DOWNLOAD_x86_64="" MD5SUM="fde67146879febb81af3d95a62df8840" +MD5SUM_x86_64="" MAINTAINER="Niklas 'Nille' Åkerström" EMAIL="nille_kungen[AT]hotmail.com" APPROVED="rworkman" |