summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorChristopher Forrest <nyrednek@gmx.com>2012-02-18 19:32:11 -0600
committerRobby Workman <rworkman@slackbuilds.org>2012-02-20 12:20:43 -0600
commitf6b665b62cd4e0dcc40395a2960c6d58469bed1c (patch)
tree2df3d9798582173c05f9e1937350947cf46f3a08 /audio
parenta6dbd4e4e9d22d4d1d54971d85fb58a1245bdba5 (diff)
downloadslackbuilds-f6b665b62cd4e0dcc40395a2960c6d58469bed1c.tar.gz
audio/amSynth: Updated for version 1.3.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r--audio/amSynth/amSynth.SlackBuild32
-rw-r--r--audio/amSynth/amSynth.info10
2 files changed, 26 insertions, 16 deletions
diff --git a/audio/amSynth/amSynth.SlackBuild b/audio/amSynth/amSynth.SlackBuild
index acf774ae47..b86e03bf72 100644
--- a/audio/amSynth/amSynth.SlackBuild
+++ b/audio/amSynth/amSynth.SlackBuild
@@ -24,15 +24,22 @@
# Modified by the SlackBuilds.org project
-PKGNAME=amSynth
-VERSION=1.2.3
-ARCH=${ARCH:-x86_64}
+PRGNAM=amSynth
+VERSION=1.3.0
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PKGNAME
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
@@ -44,6 +51,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
fi
set -e
@@ -51,9 +61,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PKGNAME-$VERSION
-tar xvf $CWD/$PKGNAME-$VERSION.tar.gz
-cd $PKGNAME-$VERSION
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R a-s,u+rw,go+r-w .
@@ -70,13 +80,13 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
-mkdir -p $PKG/usr/doc/$PKGNAME-$VERSION
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \
- $PKG/usr/doc/$PKGNAME-$VERSION
-cat $CWD/$PKGNAME.SlackBuild > $PKG/usr/doc/$PKGNAME-$VERSION/$PKGNAME.SlackBuild
+ $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/$PKGNAME-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/audio/amSynth/amSynth.info b/audio/amSynth/amSynth.info
index 3e7fdd05c3..dea9df1993 100644
--- a/audio/amSynth/amSynth.info
+++ b/audio/amSynth/amSynth.info
@@ -1,10 +1,10 @@
PRGNAM="amSynth"
-VERSION="1.2.3"
-HOMEPAGE="http://amsynthe.sourceforge.net/amSynth/"
-DOWNLOAD="http://downloads.sourceforge.net/amsynthe/amSynth-1.2.3.tar.gz"
-MD5SUM="bd92761b29161d9f748d6909e1bf14ce"
+VERSION="1.3.0"
+HOMEPAGE="http://code.google.com/p/amsynth/"
+DOWNLOAD="http://amsynth.googlecode.com/files/amSynth-1.3.0.tar.gz"
+MD5SUM="2ce5ee9adda16badf3f4f2792001fb4d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Christopher Forrest"
EMAIL="nyrednek@gmx.com"
-APPROVED="dsomero"
+APPROVED="rworkman"