aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 e460a784130bb..9d022697c6d6f 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 d2a4b90aa6209..f53cd1c0b96a3 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"