diff options
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" |