mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
audio/aften: Updated for version 0.0.8
This commit is contained in:
parent
cc647341fd
commit
32a1b39102
2 changed files with 12 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue