summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2017-07-29 15:26:07 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-08-05 07:07:53 +0700
commitc7f73b2c7d6e516bd3e10582dc5a5c2d5a412203 (patch)
treebc5aa77027e12c54df3e3da02eb1cba268096edb
parent8b33f289158cbe36d2cf50c9a3b10855b96e4e86 (diff)
downloadslackbuilds-c7f73b2c7d6e516bd3e10582dc5a5c2d5a412203.tar.gz
network/mldonkey: Avoid downloading stuff during build.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--network/mldonkey/mldonkey.SlackBuild5
-rw-r--r--network/mldonkey/mldonkey.info8
2 files changed, 11 insertions, 2 deletions
diff --git a/network/mldonkey/mldonkey.SlackBuild b/network/mldonkey/mldonkey.SlackBuild
index ec1ecfae4c..5845ea64a1 100644
--- a/network/mldonkey/mldonkey.SlackBuild
+++ b/network/mldonkey/mldonkey.SlackBuild
@@ -74,6 +74,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# This avoids downloading tarballs when the SlackBuild is running
+mkdir -p patches
+ln -s $CWD/ocaml-3.12.0.tar.gz patches/
+ln -s $CWD/lablgtk-2.14.2.tar.gz patches/
+
# 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
diff --git a/network/mldonkey/mldonkey.info b/network/mldonkey/mldonkey.info
index aef2113758..f2de7a097c 100644
--- a/network/mldonkey/mldonkey.info
+++ b/network/mldonkey/mldonkey.info
@@ -1,8 +1,12 @@
PRGNAM="mldonkey"
VERSION="3.1.5"
HOMEPAGE="http://mldonkey.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/mldonkey/mldonkey-3.1.5.tar.bz2"
-MD5SUM="eca07c8ce88702dd437c72db531162d9"
+DOWNLOAD="http://downloads.sourceforge.net/mldonkey/mldonkey-3.1.5.tar.bz2 \
+ http://caml.inria.fr/pub/distrib/ocaml-3.12/ocaml-3.12.0.tar.gz \
+ http://www.math.nagoya-u.ac.jp/~garrigue/soft/olabl/dist/lablgtk-2.14.2.tar.gz"
+MD5SUM="eca07c8ce88702dd437c72db531162d9 \
+ 3ba7cc65123c3579f14e7c726d3ee782 \
+ bad77680a72dab8b915cae99d1ec9b1f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""