aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAudrius Kažukauskas <audrius@neutrino.lt>2010-05-13 00:21:37 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:21:37 +0200
commit188b1d98a432454bf5ffbebdbd0209b1156a1bc1 (patch)
tree830ca78d995f8cdad72150ac3d07fb09180f6646
parent0428d6eaba0a95f8770514c3e8eef98a4afc3802 (diff)
audio/mp3check: Updated for version 0.8.4
-rw-r--r--audio/mp3check/mp3check.SlackBuild36
-rw-r--r--audio/mp3check/mp3check.info14
2 files changed, 25 insertions, 25 deletions
diff --git a/audio/mp3check/mp3check.SlackBuild b/audio/mp3check/mp3check.SlackBuild
index d327b9d930da..ae064baa56e0 100644
--- a/audio/mp3check/mp3check.SlackBuild
+++ b/audio/mp3check/mp3check.SlackBuild
@@ -1,10 +1,10 @@
#!/bin/sh
# Slackware build script for mp3check
-# Written by Audrius Kažukauskas <neobug@tornado.ktu.lt>
+# Written by Audrius Kažukauskas <audrius@neutrino.lt>
PRGNAM=mp3check
-VERSION=0.8.3
+VERSION=0.8.4
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -16,8 +16,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
@@ -26,34 +31,27 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tgz
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man
+# Makefile doesn't support DESTDIR.
+sed -i "s|/usr/local/bin|$PKG/usr/bin|" Makefile
+mkdir -p $PKG/usr/bin
-make
-make install-strip DESTDIR=$PKG
+make OPT="$SLKCFLAGS"
+make install
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+install -m 0644 -D mp3check.1 $PKG/usr/man/man1/mp3check.1
+gzip -9 $PKG/usr/man/man1/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING ChangeLog FAQ HISTORY INSTALL THANKS TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
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/mp3check/mp3check.info b/audio/mp3check/mp3check.info
index 2c0693685346..40bda3c68fa4 100644
--- a/audio/mp3check/mp3check.info
+++ b/audio/mp3check/mp3check.info
@@ -1,8 +1,10 @@
PRGNAM="mp3check"
-VERSION="0.8.3"
+VERSION="0.8.4"
HOMEPAGE="http://jo.ath.cx/soft/mp3check/"
-DOWNLOAD="http://jo.ath.cx/soft/mp3check/mp3check-0.8.3.tar.gz"
-MD5SUM="09ff0568e7a94b8fd1a9303d2a53fe33"
-MAINTAINER="Audrius Kazukauskas"
-EMAIL="neobug@tornado.ktu.lt"
-APPROVED="rworkman"
+DOWNLOAD="http://jo.ath.cx/soft/mp3check/mp3check-0.8.4.tgz"
+DOWNLOAD_x86_64=""
+MD5SUM="dcaf1926463d5dfb81bd8a96cd3f9ceb"
+MD5SUM_x86_64=""
+MAINTAINER="Audrius Kažukauskas"
+EMAIL="audrius@neutrino.lt"
+APPROVED="dsomero"