network/vuze: Added to 13.0 repository

This commit is contained in:
Chris Lawrence 2010-05-13 01:00:25 +02:00 committed by Robby Workman
parent 0b589f7d91
commit 8644752657
7 changed files with 109 additions and 0 deletions

1
network/vuze/README Normal file
View file

@ -0,0 +1 @@
vuze (Formerly Azureus) bittorrent client

4
network/vuze/doinst.sh Normal file
View file

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

19
network/vuze/slack-desc Normal file
View file

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

View file

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

View file

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

View file

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

10
network/vuze/vuze.info Normal file
View file

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