You are not logged in.

#1 2004-09-30 01:54:56

yak8998
Member
Registered: 2004-03-01
Posts: 143

[new] azureus

(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

#2 2004-09-30 03:38:30

shastry
Member
From: Bangalore, India
Registered: 2004-08-24
Posts: 44
Website

Re: [new] azureus

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

#3 2004-09-30 21:23:52

yak8998
Member
Registered: 2004-03-01
Posts: 143

Re: [new] azureus

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

#4 2004-09-30 21:36:50

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [new] azureus

yak8998 wrote:

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

#5 2004-10-01 02:20:17

shastry
Member
From: Bangalore, India
Registered: 2004-08-24
Posts: 44
Website

Re: [new] azureus

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

#6 2004-10-26 23:22:38

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: [new] azureus

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

#7 2004-10-26 23:26:05

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: [new] azureus

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

#8 2004-10-27 01:02:24

z4ziggy
Member
From: Israel
Registered: 2004-03-29
Posts: 573
Website

Re: [new] azureus

i agree phrakture. where should small things like that get installed? in /usr/bin ?

Offline

#9 2004-10-27 04:12:54

soniX
Member
From: Oslo, Norway
Registered: 2004-01-23
Posts: 161

Re: [new] azureus

@cotton
Looks like you have kaffe installed. I guess it conflicts with j2re in some way.
azureus depends on suns java (j2re)

Offline

#10 2004-10-27 06:03:48

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: [new] azureus

Thanks soniX,

pacman -R kaffe and Azureus starts up no problem.

Offline

#11 2004-10-27 14:30:06

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: [new] azureus

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

Board footer

Powered by FluxBB