aboutsummaryrefslogtreecommitdiff
path: root/network/aMule
diff options
context:
space:
mode:
authorOzan Türkyılmaz <ozan.turkyilmaz@gmail.com>2018-08-08 21:27:58 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-08-11 07:23:08 +0700
commit22a565deaa61b65c8b11790c7d2c2d9aeec6e9bb (patch)
tree72866e08014afa59b736897a6410f83d82589538 /network/aMule
parentdc2458b1f909e5999e4fb80de2abae95d458fb2e (diff)
network/aMule: Updated for version 2.3.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/aMule')
-rw-r--r--network/aMule/README3
-rw-r--r--network/aMule/aMule.SlackBuild19
-rw-r--r--network/aMule/aMule.info6
3 files changed, 17 insertions, 11 deletions
diff --git a/network/aMule/README b/network/aMule/README
index 6e98c3e99d735..86003b568a8aa 100644
--- a/network/aMule/README
+++ b/network/aMule/README
@@ -3,7 +3,7 @@ wxWidgets class library. It was originally forked from the xMule project,
which in turn was forked from the lMule project. This is turn was the
first fork of eMule to run nativly on Linux and other Unix-like systems.
-libupnp is a optional dependency.
+libupnp-legacy is a optional dependency.
You can build optimal features of aMule with following variables;
@@ -16,3 +16,4 @@ XAS=yes Installs xChat statistic plugin
GEOIP=yes Builds with GeoIP library support (needs GeoIP)
MMAP=yes Uses mmap
OPTIMIZE=no Don't use code optimizations
+GUI=yes Build remote GUI
diff --git a/network/aMule/aMule.SlackBuild b/network/aMule/aMule.SlackBuild
index 296b1e5b39148..26d655adb08ae 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 \
diff --git a/network/aMule/aMule.info b/network/aMule/aMule.info
index ad125272ab153..8a338fa1af241 100644
--- a/network/aMule/aMule.info
+++ b/network/aMule/aMule.info
@@ -1,8 +1,8 @@
PRGNAM="aMule"
-VERSION="2.3.1"
+VERSION="2.3.2"
HOMEPAGE="http://www.amule.org"
-DOWNLOAD="http://downloads.sourceforge.net/amule/aMule-2.3.1.tar.xz"
-MD5SUM="5f5707ad2073d37100409870aa5d3f93"
+DOWNLOAD="http://downloads.sourceforge.net/amule/aMule-2.3.2.tar.xz"
+MD5SUM="4e666c33f2c87874d389d6d45eb82b7a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="cryptopp wxPython"