diff options
-rw-r--r-- | network/mldonkey/README | 15 | ||||
-rw-r--r-- | network/mldonkey/mldonkey.SlackBuild | 8 | ||||
-rw-r--r-- | network/mldonkey/mldonkey.info | 8 | ||||
-rw-r--r-- | network/mldonkey/slack-desc | 2 |
4 files changed, 16 insertions, 17 deletions
diff --git a/network/mldonkey/README b/network/mldonkey/README index 077a27d26b36..acba053e3c3e 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 5fd5d6aee5f1..65ad47be5c52 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 023f6c268fac..514167ebbdb9 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 77cc82e518a4..c37f3b364bab 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 |