summaryrefslogtreecommitdiff
path: root/network/mldonkey
diff options
context:
space:
mode:
Diffstat (limited to 'network/mldonkey')
-rw-r--r--network/mldonkey/mldonkey.SlackBuild9
-rw-r--r--network/mldonkey/mldonkey.info6
2 files changed, 9 insertions, 6 deletions
diff --git a/network/mldonkey/mldonkey.SlackBuild b/network/mldonkey/mldonkey.SlackBuild
index 65ad47be5c..b1e1040bfd 100644
--- a/network/mldonkey/mldonkey.SlackBuild
+++ b/network/mldonkey/mldonkey.SlackBuild
@@ -26,7 +26,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mldonkey
-VERSION=3.0.7
+VERSION=${VERSION:-3.1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,7 +65,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -77,11 +77,14 @@ find . \
# OCaml 3.10/3.11 don't work with gtk1, so ingnore the gtk1 choses and let
# configure to choose a proper lib.
if [ "$GUIOPT" = 'yes' ]; then
- GUIOPT='--enable-gui'
+ GUIOPT='--enable-gui=newgui2'
else
GUIOPT='--disable-gui'
fi
+# Change the O6 to something saner
+sed -i "s/O6/O2/" config/Makefile.in
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/network/mldonkey/mldonkey.info b/network/mldonkey/mldonkey.info
index 52de494967..c3333d765f 100644
--- a/network/mldonkey/mldonkey.info
+++ b/network/mldonkey/mldonkey.info
@@ -1,8 +1,8 @@
PRGNAM="mldonkey"
-VERSION="3.0.7"
+VERSION="3.1.3"
HOMEPAGE="http://mldonkey.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/mldonkey/mldonkey-3.0.7.tar.bz2"
-MD5SUM="162b78fc4e20335a8fe31d91e1656db2"
+DOWNLOAD="http://downloads.sourceforge.net/mldonkey/mldonkey-3.1.3.tar.bz2"
+MD5SUM="671f60467a918a9b7c2affef63ff5c25"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""