diff options
author | Roberto Neri <rneri@libero.it> | 2010-05-13 00:31:09 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:31:09 +0200 |
commit | 3e7fc76ed866d23880cd8648ae763ae338d39153 (patch) | |
tree | 7a938919e33911e935f82145aa65e5192b081c98 /libraries/libmp3splt/libmp3splt.SlackBuild | |
parent | 3ba95580581336b53bd64318200dabe624c42fba (diff) | |
download | slackbuilds-3e7fc76ed866d23880cd8648ae763ae338d39153.tar.gz |
libraries/libmp3splt: Updated for version 0.5.7a
Diffstat (limited to 'libraries/libmp3splt/libmp3splt.SlackBuild')
-rw-r--r-- | libraries/libmp3splt/libmp3splt.SlackBuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/libraries/libmp3splt/libmp3splt.SlackBuild b/libraries/libmp3splt/libmp3splt.SlackBuild index bb468070f7..71e7158acf 100644 --- a/libraries/libmp3splt/libmp3splt.SlackBuild +++ b/libraries/libmp3splt/libmp3splt.SlackBuild @@ -5,7 +5,7 @@ # Written by Roberto Neri <rneri@libero.it> PRGNAM=libmp3splt -VERSION=${VERSION:-0.5.4} +VERSION=${VERSION:-0.5.7a} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -17,10 +17,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 @@ -42,6 +45,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --disable-static \ --build=$ARCH-slackware-linux @@ -56,7 +60,7 @@ make install DESTDIR=$PKG ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS ChangeLog COPYING INSTALL LIMITS NEWS README TODO \ +cp -a ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL LIMITS NEWS README TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild @@ -64,4 +68,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} |