diff options
author | Ozan Türkyılmaz <ozan.turkyilmaz@gmail.com> | 2018-08-08 21:27:58 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-08-11 07:23:08 +0700 |
commit | 22a565deaa61b65c8b11790c7d2c2d9aeec6e9bb (patch) | |
tree | 72866e08014afa59b736897a6410f83d82589538 /network/aMule/aMule.SlackBuild | |
parent | dc2458b1f909e5999e4fb80de2abae95d458fb2e (diff) | |
download | slackbuilds-22a565deaa61b65c8b11790c7d2c2d9aeec6e9bb.tar.gz |
network/aMule: Updated for version 2.3.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/aMule/aMule.SlackBuild')
-rw-r--r-- | network/aMule/aMule.SlackBuild | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/network/aMule/aMule.SlackBuild b/network/aMule/aMule.SlackBuild index 296b1e5b39..26d655adb0 100644 --- a/network/aMule/aMule.SlackBuild +++ b/network/aMule/aMule.SlackBuild @@ -5,13 +5,13 @@ # Maintained by Ozan Türkyılmaz ozan.turkyilmaz@gmial.com PRGNAM=aMule -VERSION=${VERSION:-2.3.1} +VERSION=${VERSION:-2.3.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -22,8 +22,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -107,6 +107,13 @@ if [ "$PLASMAMULE" = "yes" ]; then AMULE_PLASMAMULE="disable" fi +if [ "$GUI" = "yes" ]; then + AMULE_GUI="enable" + else + AMULE_GUI="disable" +fi + + set -e rm -rf $PKG @@ -122,9 +129,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Fix for gcc-4.7.x -sed -i "s|NotifyObservers|this->NotifyObservers|" src/ObservableQueue.h - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -136,6 +140,7 @@ CXXFLAGS="$SLKCFLAGS" \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --with-wx-config=/usr/bin/wx-config \ --disable-debug \ + --$AMULE_GUI-amule-gui \ --$AMULE_DAEMON-amule-daemon \ --$AMULE_CMD-amulecmd \ --$AMULE_WEBSERVER-webserver \ |