diff options
author | Chris Lawrence <selivanow@gmail.com> | 2010-05-13 01:00:25 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 01:00:25 +0200 |
commit | 86447526576ac1a83c73811c0835fbbb103d0bd5 (patch) | |
tree | 17b932bd0c2f79109ce3cd24f5ecaac046915c3a /network | |
parent | 0b589f7d91335b59d1c20099e161131539051607 (diff) |
network/vuze: Added to 13.0 repository
Diffstat (limited to 'network')
-rw-r--r-- | network/vuze/README | 1 | ||||
-rw-r--r-- | network/vuze/doinst.sh | 4 | ||||
-rw-r--r-- | network/vuze/slack-desc | 19 | ||||
-rw-r--r-- | network/vuze/vuze-set_paths.diff | 18 | ||||
-rw-r--r-- | network/vuze/vuze.SlackBuild | 49 | ||||
-rw-r--r-- | network/vuze/vuze.desktop | 8 | ||||
-rw-r--r-- | network/vuze/vuze.info | 10 |
7 files changed, 109 insertions, 0 deletions
diff --git a/network/vuze/README b/network/vuze/README new file mode 100644 index 0000000000000..0dd56c2b3630a --- /dev/null +++ b/network/vuze/README @@ -0,0 +1 @@ +vuze (Formerly Azureus) bittorrent client diff --git a/network/vuze/doinst.sh b/network/vuze/doinst.sh new file mode 100644 index 0000000000000..4e8ba7071dea7 --- /dev/null +++ b/network/vuze/doinst.sh @@ -0,0 +1,4 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + diff --git a/network/vuze/slack-desc b/network/vuze/slack-desc new file mode 100644 index 0000000000000..ade5039a756ed --- /dev/null +++ b/network/vuze/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' on +# the right side marks the last column you can put a character in. You must make +# exactly 11 lines for the formatting to be correct. It's also customary to +# leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +vuze: vuze (Formerly Azureus) bittorrent client +vuze: +vuze: Vuze is a bittorrent client. +vuze: +vuze: http://azureus.sourceforge.net +vuze: +vuze: +vuze: +vuze: +vuze: +vuze: diff --git a/network/vuze/vuze-set_paths.diff b/network/vuze/vuze-set_paths.diff new file mode 100644 index 0000000000000..97596fbc80fc1 --- /dev/null +++ b/network/vuze/vuze-set_paths.diff @@ -0,0 +1,18 @@ +diff -Nur vuze.orig/azureus vuze/azureus +--- vuze.orig/azureus 2007-09-20 18:54:27.000000000 -0500 ++++ vuze/azureus 2009-12-06 01:28:28.002297179 -0600 +@@ -3,11 +3,11 @@ + ######## CONFIGURATION OPTIONS ######## + SCRIPT_NOT_CHANGED=0 # change this to 1 if you don't want your script overwritten! + JAVA_PROGRAM_DIR="" # use full path to java bin dir, ex. "/usr/java/j2sdk1.4.2/bin/" +-#PROGRAM_DIR="/home/username/apps/azureus" # use full path to Azureus bin dir ++PROGRAM_DIR="@LIBDIR@/vuze" # use full path to Azureus bin dir + JAVA_ARGS="-Xmx128m" + +-#export MOZILLA_FIVE_HOME="/path/to/gre" # Full path to GRE/Mozilla. When commenting out this line, also comment out the next line +-#if [ "$LD_LIBRARY_PATH x" = " x" ]; then export LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME; else export LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH; fi ++export MOZILLA_FIVE_HOME="@LIBDIR@/seamonkey" # Full path to GRE/Mozilla. When commenting out this line, also comment out the next line ++if [ "$LD_LIBRARY_PATH x" = " x" ]; then export LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME; else export LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH; fi + ####################################### + + diff --git a/network/vuze/vuze.SlackBuild b/network/vuze/vuze.SlackBuild new file mode 100644 index 0000000000000..85b9931f5003a --- /dev/null +++ b/network/vuze/vuze.SlackBuild @@ -0,0 +1,49 @@ +#!/bin/sh + +# Slackware build script for Azureus/Vuze +# Written by Chris Lawrence <selivanow@gmail.com> + +PRGNAM=vuze +VERSION=${VERSION:-4.3.0.4} +ARCH=${ARCH:-i486} +BUILD=${BUILD:-2} +TAG=${TAG:-_SBo} + +if [ "$ARCH" = "x86_64" ]; then + LIBDIRSUFFIX="64" + ARCHIVE=Vuze_${VERSION}_linux-$ARCH.tar.bz2 +else + ARCH=i486 + LIBDIRSUFFIX="" + ARCHIVE=Vuze_${VERSION}_linux.tar.bz2 +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +rm -rf $PKG +mkdir -p $TMP $PKG/usr/lib${LIBDIRSUFFIX} $PKG/usr/bin $OUTPUT +tar xvf $CWD/$ARCHIVE -C $PKG/usr/lib${LIBDIRSUFFIX} + +# Set PROGRAM_DIR and MOZILLA_FIVE_HOME in the azureus program script +sed "s%@LIBDIR@%/usr/lib${LIBDIRSUFFIX}%g" $CWD/vuze-set_paths.diff | \ + patch -p1 -d $PKG/usr/lib${LIBDIRSUFFIX}/vuze + +# Create two new symlinks in /usr/bin +( cd $PKG/usr/bin + ln -s ../lib${LIBDIRSUFFIX}/$PRGNAM/azureus + ln -s ../lib${LIBDIRSUFFIX}/$PRGNAM/vuze +) + +mkdir -p $PKG/usr/share/{applications,pixmaps} +cat $CWD/vuze.desktop > $PKG/usr/share/applications/vuze.desktop +( cd $PKG/usr/share/pixmaps ; ln -s ../../lib${LIBDIRSUFFIX}/vuze/vuze.png ) + +mkdir $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/network/vuze/vuze.desktop b/network/vuze/vuze.desktop new file mode 100644 index 0000000000000..803f1c4b67777 --- /dev/null +++ b/network/vuze/vuze.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Vuze (Formerly Azureus) +Comment=Bittorrent Client +Exec=/usr/bin/vuze +Icon=vuze +Terminal=false +Type=Application +Categories=Network; diff --git a/network/vuze/vuze.info b/network/vuze/vuze.info new file mode 100644 index 0000000000000..6680ce46e89e2 --- /dev/null +++ b/network/vuze/vuze.info @@ -0,0 +1,10 @@ +PRGNAM="vuze" +VERSION="4.3.0.4" +HOMEPAGE="http://azureus.sourceforge.net/" +DOWNLOAD="http://downloads.sourceforge.net/project/azureus/vuze/vuze-4.3.0.4/Vuze_4.3.0.4_linux.tar.bz2" +MD5SUM="cb38e40e29d6537c49edc91225f4a841" +DOWNLOAD_x86_64="http://downloads.sourceforge.net/project/azureus/vuze/vuze-4.3.0.4/Vuze_4.3.0.4_linux-x86_64.tar.bz2" +MD5SUM_x86_64="229cb68b4ced4290a2621bc173e55fe3" +MAINTAINER="Chris Lawrence" +EMAIL="selivanow@gmail.com" +APPROVED="rworkman" |