summaryrefslogtreecommitdiff
path: root/audio/dcd
diff options
context:
space:
mode:
authorLuis Henrique <lmello.009@gmail.com>2010-05-13 00:20:56 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:20:56 +0200
commite753bb206ac2fc4dc552e52f9faedff6b638617f (patch)
tree70f405e1e40378ee956814df6e6af422f0f68616 /audio/dcd
parent8a1544b5582de3f411c4bcdaa283d00ca2a13859 (diff)
downloadslackbuilds-e753bb206ac2fc4dc552e52f9faedff6b638617f.tar.gz
audio/dcd: Updated for version 0.99.2
Diffstat (limited to 'audio/dcd')
-rw-r--r--audio/dcd/dcd.SlackBuild9
-rw-r--r--audio/dcd/dcd.info2
2 files changed, 7 insertions, 4 deletions
diff --git a/audio/dcd/dcd.SlackBuild b/audio/dcd/dcd.SlackBuild
index e460a78413..9d022697c6 100644
--- a/audio/dcd/dcd.SlackBuild
+++ b/audio/dcd/dcd.SlackBuild
@@ -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 # Exit on most errors
@@ -41,9 +44,7 @@ find . \
# Patch the Makefile to fix the cdrom device dcd looks for (/dev/cdrom):
patch -p0 < $CWD/Makefile.diff
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-make
+CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" make
# Install the package:
ginstall -m 755 -d $PKG/usr/bin
@@ -71,4 +72,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/dcd/dcd.info b/audio/dcd/dcd.info
index d2a4b90aa6..f53cd1c0b9 100644
--- a/audio/dcd/dcd.info
+++ b/audio/dcd/dcd.info
@@ -3,6 +3,8 @@ VERSION="0.99.2"
HOMEPAGE="http://dcdplayer.sourceforge.net"
DOWNLOAD="http://downloads.sourceforge.net/dcdplayer/dcd-0.99.2.tar.gz"
MD5SUM="94d8e5bdcd1961998d4c3bd80155e5d7"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="Luis Henrique"
EMAIL="lmello.009@gmail.com"
APPROVED="rworkman"