summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2010-05-13 00:20:53 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:20:53 +0200
commit27a2f66642d73932330d102848e719ce3665f8a2 (patch)
tree2d2e063a19d5220a0c277f7a86e6bf5fbd7d28bc
parent35c8ba8e804f2b4bb463969329694c2962609871 (diff)
downloadslackbuilds-27a2f66642d73932330d102848e719ce3665f8a2.tar.gz
audio/awesfx: Updated for version 0.5.1a
-rw-r--r--audio/awesfx/awesfx.SlackBuild13
-rw-r--r--audio/awesfx/awesfx.info2
2 files changed, 12 insertions, 3 deletions
diff --git a/audio/awesfx/awesfx.SlackBuild b/audio/awesfx/awesfx.SlackBuild
index c8ad76208c..efd4d54591 100644
--- a/audio/awesfx/awesfx.SlackBuild
+++ b/audio/awesfx/awesfx.SlackBuild
@@ -3,13 +3,12 @@
# Slackware build script for awesfx
# Written by Kyle Guinn <elyk03@gmail.com>
-set -e
-
PRGNAM=awesfx
VERSION=0.5.1a
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -17,10 +16,17 @@ 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
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -34,6 +40,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--infodir=/usr/info \
@@ -57,4 +64,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/awesfx/awesfx.info b/audio/awesfx/awesfx.info
index 3e49bbe610..f4bb275f62 100644
--- a/audio/awesfx/awesfx.info
+++ b/audio/awesfx/awesfx.info
@@ -2,7 +2,9 @@ PRGNAM="awesfx"
VERSION="0.5.1a"
HOMEPAGE="http://www.alsa-project.org/~iwai/awedrv.html"
DOWNLOAD="ftp://ftp.suse.com/pub/people/tiwai/awesfx/awesfx-0.5.1a.tar.bz2"
+DOWNLOAD_x86_64=""
MD5SUM="edeb9a25e505c9c85cb2453175b0dd1a"
+MD5SUM_x86_64=""
MAINTAINER="Kyle Guinn"
EMAIL="elyk03@gmail.com"
APPROVED="rworkman"