summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorChris Lawrence <selivanow@gmail.com>2011-12-21 06:33:15 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-12-22 00:03:04 -0600
commitd1265e888f8a7ac0603eaa493e55898bef33dab8 (patch)
tree7550dbee9b10f67320e18a9193b7b1e617a8e504 /network
parent803b34766e65bcf48be43786936c4156679c8397 (diff)
downloadslackbuilds-d1265e888f8a7ac0603eaa493e55898bef33dab8.tar.gz
network/vuze: Added (bittorrent client)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/vuze/README4
-rw-r--r--network/vuze/doinst.sh4
-rw-r--r--network/vuze/slack-desc19
-rw-r--r--network/vuze/vuze-set_paths.diff36
-rw-r--r--network/vuze/vuze.SlackBuild69
-rw-r--r--network/vuze/vuze.desktop8
-rw-r--r--network/vuze/vuze.info10
7 files changed, 150 insertions, 0 deletions
diff --git a/network/vuze/README b/network/vuze/README
new file mode 100644
index 0000000000..4ecdff9883
--- /dev/null
+++ b/network/vuze/README
@@ -0,0 +1,4 @@
+vuze (Formerly Azureus) bittorrent client
+
+
+vuze requires xulrunner 1.9.x
diff --git a/network/vuze/doinst.sh b/network/vuze/doinst.sh
new file mode 100644
index 0000000000..4e8ba7071d
--- /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 0000000000..49061fe171
--- /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 (bittorrent client)
+vuze:
+vuze: Vuze is a bittorrent client formerly known as Azureus.
+vuze:
+vuze: Homepage: 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 0000000000..0c0fbcd802
--- /dev/null
+++ b/network/vuze/vuze-set_paths.diff
@@ -0,0 +1,36 @@
+diff -Nur vuze.orig/azureus vuze/azureus
+--- vuze.orig/azureus 2011-05-02 20:04:44.738300650 -0400
++++ vuze/azureus 2011-05-02 20:07:23.191928931 -0400
+@@ -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 -Nur vuze.orig/vuze vuze/vuze
+--- vuze.orig/vuze 2011-05-02 20:04:44.739302770 -0400
++++ vuze/vuze 2011-05-02 20:08:29.022931571 -0400
+@@ -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 0000000000..d7fca4f6b4
--- /dev/null
+++ b/network/vuze/vuze.SlackBuild
@@ -0,0 +1,69 @@
+#!/bin/sh
+
+# Slackware build script for Azureus/Vuze
+# Written by Chris Lawrence <selivanow@gmail.com>
+
+PRGNAM=vuze
+VERSION=${VERSION:-4604}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+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
+
+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
+mv $PKG/usr/lib${LIBDIRSUFFIX}/vuze/*.png $PKG/usr/share/pixmaps
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a\
+ $PKG/usr/lib${LIBDIRSUFFIX}/vuze/README.txt \
+ $PKG/usr/lib${LIBDIRSUFFIX}/vuze/TOS.txt \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# Clean up some cruft.
+rm $PKG/usr/lib${LIBDIRSUFFIX}/vuze/vuze.desktop
+rm $PKG/usr/lib${LIBDIRSUFFIX}/vuze/*.txt
+rm $PKG/usr/lib${LIBDIRSUFFIX}/vuze/*.log
+
+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 0000000000..803f1c4b67
--- /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 0000000000..7f04e267cd
--- /dev/null
+++ b/network/vuze/vuze.info
@@ -0,0 +1,10 @@
+PRGNAM="vuze"
+VERSION="4604"
+HOMEPAGE="http://azureus.sourceforge.net/"
+DOWNLOAD="http://downloads.sourceforge.net/project/azureus/vuze/Vuze_4604/Vuze_4604_linux.tar.bz2"
+MD5SUM="a771446146ddb5c13132858d36ff22cc"
+DOWNLOAD_x86_64="http://downloads.sourceforge.net/project/azureus/vuze/Vuze_4604/Vuze_4604_linux-x86_64.tar.bz2"
+MD5SUM_x86_64="6797e922a255a80ff435f98b2b87a3a6"
+MAINTAINER="Chris Lawrence"
+EMAIL="selivanow@gmail.com"
+APPROVED="dsomero"