You are not logged in.
Pages: 1
(updated: added symlink in /usr/bin with help of contrasutra)
excellent java bittorrent client for Win32/Linux/OSX
My first working package...
pkgname=azureus
pkgver=2.1.0.4
pkgrel=1
pkgdesc="Azureus provides a bittorrent protocol implementation using the java language."
url="http://azureus.sourceforge.net/"
license=""
depends=('j2re' 'gtk')
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://unc.dl.sourceforge.net/sourceforge/azureus/Azureus_${pkgver}_linux.GTK.tar.bz2)
md5sums=()
build() {
cd azureus
./azureus
ln -s ~/azureus/azureus /usr/bin/azureus
chmod +x /usr/bin/azureus
}
Rather simple, but it seemed to be flaky installing on different machines. Please try it out and LMK.
"Ignorance is bliss, for stupid people."
"open-source is [...] programming Darwinism."
Vaughan-Nichols
Offline
pkgname=azureus
pkgver=2.1.0.4
pkgrel=2
pkgdesc="Azureus provides a bittorrent protocol implementation using the java language."
url="http://azureus.sourceforge.net/"
license=""
depends=('j2re' 'gtk')
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://unc.dl.sourceforge.net/sourceforge/azureus/Azureus_${pkgver}_linux.GTK.tar.bz2)
md5sums=()
build() {
cd $startdir/src
mkdir $startdir/pkg/opt/
cp $pkgname $startdir/pkg/opt -R
mkdir $startdir/pkg/usr/bin -p
cd $startdir/pkg/usr/bin
cat > ${pkgname} << EOF
#!/bin/sh
cd /opt/azureus
./azureus $@
EOF
chmod +x ${pkgname}
}
Offline
did that already exist or what?
and can you explain the 'cat' line to me please?
"Ignorance is bliss, for stupid people."
"open-source is [...] programming Darwinism."
Vaughan-Nichols
Offline
and can you explain the 'cat' line to me please?
cat is a program that writes text to the screen by default. Here the line
cat > ${pkgname} << EOF
means write to file ${pkgname} everything that follows until EOF is detected.
Offline
i've done that cat command to create a little script - because creating a symlink wont work.
but executing /opt/azureus/azureus will work - so i cd into the dir and run the program. (its just a simple shell script)
Offline
I've installed Java and Azureus successfully but get the following when starting Azureus:
Java exec found in PATH. Verifying...
OOPS, you don't seem to have a valid JRE [java = Kaffe]
You need to upgrade to JRE 1.4.x or newer from http://java.sun.com
ls: /usr/java: No such file or directory
OOPS, unable to locate java exec in /usr/java/ hierarchy
You need to upgrade to JRE 1.4.x or newer from http://java.sun.com
what should I do to get it working?
Offline
omg why does everyone have to install everything to /opt...
the standards state that opt is for very big all encompassing things... personally I don't think even firefox should be there... but it kinda has to
kde, gnome, things like that go in opt... a simple java program... nope
Offline
i agree phrakture. where should small things like that get installed? in /usr/bin ?
Offline
@cotton
Looks like you have kaffe installed. I guess it conflicts with j2re in some way.
azureus depends on suns java (j2re)
Offline
Thanks soniX,
pacman -R kaffe and Azureus starts up no problem.
Offline
I'm pretty sure the Arch default install is /usr/bin - some other distros prefer /usr/local/bin... I like /usr/bin as it's shorter to type.
If you can, please modify this script to throw binaries in /usr/bin... configuration should be in /etc or /usr/share/<appname> or something to that effect... I'll find the unix guidelines sometime and make a wiki for it...
Offline
Pages: 1