summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrissiom <chaos.proton@gmail.com>2011-03-05 08:31:42 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-03-05 08:31:42 -0300
commit86323318d97a797b78641f37fb25d7606a9412c6 (patch)
treeb6dca58a202be53ab4836d04e24515f389f81c8e
parent72839e7e6c1de515f492d2ad7db3c1077a07a75e (diff)
downloadslackbuilds-86323318d97a797b78641f37fb25d7606a9412c6.tar.gz
network/mldonkey: Updated for version 3.0.7.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
-rw-r--r--network/mldonkey/README15
-rw-r--r--network/mldonkey/mldonkey.SlackBuild8
-rw-r--r--network/mldonkey/mldonkey.info8
-rw-r--r--network/mldonkey/slack-desc2
4 files changed, 16 insertions, 17 deletions
diff --git a/network/mldonkey/README b/network/mldonkey/README
index 077a27d26b..acba053e3c 100644
--- a/network/mldonkey/README
+++ b/network/mldonkey/README
@@ -1,12 +1,13 @@
MLDonkey is an open source, free software multi-network peer-to-peer app.
-This requires ocaml to build and optionally lablgtk2 (if you want to enable
-the GUI). It will try to download lablgtk2 and ocaml from the web and build
-them locally if they are not found on your system, so it's better to make sure
-that they are already installed.
+This requires ocaml to build and optionally lablgtk2 (if you want to
+enable the GUI). It will try to download lablgtk2 and ocaml from the
+web and build them locally if they are not found on your system, so it's
+better to make sure that they are already installed.
-By default, this SlackBuild will build MLdonkey without a GUI. Without a GUI,
-you can control mldonkey by connecting to localhost:4080 with your web browser.
+By default, this SlackBuild will build MLdonkey without a GUI. Without a
+GUI, you can control mldonkey by connecting to localhost:4080 with your
+web browser.
-If you want to build MLDonkey's GUI, you'll have to enable it with the
+If you want to build MLDonkey's GUI, you'll have to enable it with the
GUIOPT variable like this: GUIOPT=yes ./mldonkey.SlackBuild
diff --git a/network/mldonkey/mldonkey.SlackBuild b/network/mldonkey/mldonkey.SlackBuild
index 5fd5d6aee5..65ad47be5c 100644
--- a/network/mldonkey/mldonkey.SlackBuild
+++ b/network/mldonkey/mldonkey.SlackBuild
@@ -26,25 +26,23 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mldonkey
-VERSION=3.0.5
+VERSION=3.0.7
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-
GUIOPT=${GUIOPT:-no}
if [ "$ARCH" = "i486" ]; then
@@ -116,7 +114,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
+[ "$GUIOPT" = "yes" ] && cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/mldonkey/mldonkey.info b/network/mldonkey/mldonkey.info
index 023f6c268f..514167ebbd 100644
--- a/network/mldonkey/mldonkey.info
+++ b/network/mldonkey/mldonkey.info
@@ -1,10 +1,10 @@
PRGNAM="mldonkey"
-VERSION="3.0.5"
+VERSION="3.0.7"
HOMEPAGE="http://mldonkey.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/mldonkey/mldonkey-3.0.5.tar.bz2"
-MD5SUM="f436842d0d6218d8b782d281e28699b8"
+DOWNLOAD="http://downloads.sourceforge.net/mldonkey/mldonkey-3.0.7.tar.bz2"
+MD5SUM="162b78fc4e20335a8fe31d91e1656db2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Grissiom"
EMAIL="chaos.proton@gmail.com"
-APPROVED="dsomero"
+APPROVED="Niels Horn"
diff --git a/network/mldonkey/slack-desc b/network/mldonkey/slack-desc
index 77cc82e518..c37f3b364b 100644
--- a/network/mldonkey/slack-desc
+++ b/network/mldonkey/slack-desc
@@ -5,7 +5,7 @@
# exactly 11 lines for the formatting to be correct. It's also customary to
# leave one space after the ':'.
- |-----handy-ruler---------------------------------------------------|
+ |-----handy-ruler------------------------------------------------------|
mldonkey: MLDonkey (A multi-platform multi-network peer-to-peer client)
mldonkey:
mldonkey: MLDonkey is an open source, free software multi-network