diff options
author | Heinz Wiesinger <HMWiesinger@gmx.at> | 2010-05-13 00:20:46 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:20:46 +0200 |
commit | e2ab01954f28a7c42c0b7b80c71d7f58efaef97f (patch) | |
tree | 588480e7567c573e031be421c376e7d864c4eed8 /audio/amrwb/amrwb.SlackBuild | |
parent | e852b8ef3749e92181e0d899fef93cb86171c471 (diff) |
audio/amrwb: Updated for version 7.0.0.3
Diffstat (limited to 'audio/amrwb/amrwb.SlackBuild')
-rw-r--r-- | audio/amrwb/amrwb.SlackBuild | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/audio/amrwb/amrwb.SlackBuild b/audio/amrwb/amrwb.SlackBuild index 88ad6425b911..7c4525d12b34 100644 --- a/audio/amrwb/amrwb.SlackBuild +++ b/audio/amrwb/amrwb.SlackBuild @@ -35,10 +35,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 @@ -49,6 +52,7 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION +cp $CWD/26204-700.zip . chown -R root:root . chmod -R u+w,go+r-w,a-s . @@ -56,6 +60,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --enable-shared \ --disable-static \ @@ -63,16 +68,6 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux \ --host=$ARCH-slackware-linux -if [ -e $CWD/26204-700.zip ]; then - cp $CWD/26204-700.zip . -else - echo - echo "$CWD/26204-700.zip was not found." - echo "Go back and read $CWD/README again." - echo - exit 1 -fi - make make install-strip DESTDIR=$PKG @@ -85,4 +80,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} |