network/mldonkey: Avoid downloading stuff during build.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2017-07-29 15:26:07 +02:00 committed by Willy Sudiarto Raharjo
parent 8b33f28915
commit c7f73b2c7d
2 changed files with 11 additions and 2 deletions

View File

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

View File

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