aboutsummaryrefslogtreecommitdiff
path: root/audio/amSynth
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-04 00:00:32 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commitb2e54385d0645eaabb6fedccd738552493734f25 (patch)
treef73329d80b695fa79ce431ac4569863fb4453506 /audio/amSynth
parent641fb6465362f35b2a546ce8a024f27cb90d7153 (diff)
audio/amSynth: Updated for version 1.6.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/amSynth')
-rw-r--r--audio/amSynth/amSynth.SlackBuild18
-rw-r--r--audio/amSynth/amSynth.info8
2 files changed, 13 insertions, 13 deletions
diff --git a/audio/amSynth/amSynth.SlackBuild b/audio/amSynth/amSynth.SlackBuild
index c321cd3ef368..7bb1520260ed 100644
--- a/audio/amSynth/amSynth.SlackBuild
+++ b/audio/amSynth/amSynth.SlackBuild
@@ -25,7 +25,8 @@
# Modified by the SlackBuilds.org project
PRGNAM=amSynth
-VERSION=1.3.2
+SRCNAM=amsynth
+VERSION=${VERSION:-1.6.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,19 +62,19 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-release-$VERSION
+tar xvf $CWD/release-$VERSION.tar.gz || tar xvf $CWD/$SRCNAM-release-$VERSION.tar.gz
+cd $SRCNAM-release-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-autoreconf --force --install
+./autogen.sh
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=c++11" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -86,8 +87,7 @@ make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/audio/amSynth/amSynth.info b/audio/amSynth/amSynth.info
index 63a4006d329f..63e99bace17e 100644
--- a/audio/amSynth/amSynth.info
+++ b/audio/amSynth/amSynth.info
@@ -1,8 +1,8 @@
PRGNAM="amSynth"
-VERSION="1.3.2"
-HOMEPAGE="http://code.google.com/p/amsynth/"
-DOWNLOAD="http://amsynth.googlecode.com/files/amSynth-1.3.2.tar.gz"
-MD5SUM="991329e433bb8c496f9ca5158faf0bca"
+VERSION="1.6.3"
+HOMEPAGE="https://github.com/amsynth/amsynth/"
+DOWNLOAD="https://github.com/amsynth/amsynth/archive/release-1.6.3.tar.gz"
+MD5SUM="8d172ebd8a767fbb20d56931f259f846"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gtkmm"