network/aMule: Updated for version 2.3.2.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Ozan Türkyılmaz 2018-08-08 21:27:58 +01:00 committed by Willy Sudiarto Raharjo
parent dc2458b1f9
commit 22a565deaa
No known key found for this signature in database
GPG key ID: 887B8374D7333381
3 changed files with 17 additions and 11 deletions

View file

@ -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

View file

@ -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 \

View file

@ -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"