summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2012-08-07 18:55:54 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-08-21 15:36:49 -0500
commit43681ffdd2cc0d077ec35a4f346d1d26c4c05014 (patch)
treeaccc1742f7af4309852963037d0304ef9927eeb3
parentfca081d062b457421853f495d9042465ce7d60f3 (diff)
downloadslackbuilds-43681ffdd2cc0d077ec35a4f346d1d26c4c05014.tar.gz
network/mldonkey: Updated for version 3.1.3.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-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=""