diff options
author | Luis Henrique <lmello.009@gmail.com> | 2010-05-13 00:20:56 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:20:56 +0200 |
commit | e753bb206ac2fc4dc552e52f9faedff6b638617f (patch) | |
tree | 70f405e1e40378ee956814df6e6af422f0f68616 /audio/dcd/dcd.SlackBuild | |
parent | 8a1544b5582de3f411c4bcdaa283d00ca2a13859 (diff) | |
download | slackbuilds-e753bb206ac2fc4dc552e52f9faedff6b638617f.tar.gz |
audio/dcd: Updated for version 0.99.2
Diffstat (limited to 'audio/dcd/dcd.SlackBuild')
-rw-r--r-- | audio/dcd/dcd.SlackBuild | 9 |
1 files changed, 5 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} |