aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorMichael Wagner <lapinours@web.de>2010-05-13 00:21:36 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:21:36 +0200
commit0428d6eaba0a95f8770514c3e8eef98a4afc3802 (patch)
tree5827b800d28a50983c3d4f3b22714d0ae3b671e8 /audio
parent5e909a611acb8923b73bb4630dcb4580db73cd55 (diff)
audio/mp3c: Updated for version 0.31
Diffstat (limited to 'audio')
-rw-r--r--audio/mp3c/mp3c.SlackBuild9
-rw-r--r--audio/mp3c/mp3c.info2
2 files changed, 10 insertions, 1 deletions
diff --git a/audio/mp3c/mp3c.SlackBuild b/audio/mp3c/mp3c.SlackBuild
index 3f74ef0e74a2f..e85854e1b02c0 100644
--- a/audio/mp3c/mp3c.SlackBuild
+++ b/audio/mp3c/mp3c.SlackBuild
@@ -27,6 +27,7 @@ VERSION=0.31
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -37,8 +38,13 @@ DOCS="ABOUT-NLS AUTHORS BATCH.README BUGS CDDB_HOWTO COPYING ChangeLog \
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
rm -rf $PKG
@@ -53,6 +59,7 @@ chmod -R u+w,go+r-w,a-s .
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
|| exit 1
make || exit 1
@@ -69,4 +76,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}
diff --git a/audio/mp3c/mp3c.info b/audio/mp3c/mp3c.info
index c0c91e8c67fbb..cfc11d8d008ca 100644
--- a/audio/mp3c/mp3c.info
+++ b/audio/mp3c/mp3c.info
@@ -2,7 +2,9 @@ PRGNAM="mp3c"
VERSION="0.31"
HOMEPAGE="http://www.wspse.de/WSPse/Linux-MP3c.php3"
DOWNLOAD="ftp://ftp.wspse.de/pub/linux/wspse/mp3c-0.31.tar.bz2"
+DOWNLOAD_x86_64=""
MD5SUM="c1adabc9cbd90a57f273cf53e2ea9531"
+MD5SUM_x86_64=""
MAINTAINER="Michael Wagner"
EMAIL="lapinours@web.de"
APPROVED="rworkman"