summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr@gentoo.org>2003-11-26 05:34:21 +0000
committerLuke Dashjr <luke-jr@gentoo.org>2003-11-26 05:34:21 +0000
commitfdcab549d718fc9334d8da6663210843c4a12679 (patch)
tree8f0180a4dbbbd85c966ca69de42a4e249a2b5b5f /net-p2p
parentInitial ebuild (diff)
downloadgentoo-2-fdcab549d718fc9334d8da6663210843c4a12679.tar.gz
gentoo-2-fdcab549d718fc9334d8da6663210843c4a12679.tar.bz2
gentoo-2-fdcab549d718fc9334d8da6663210843c4a12679.zip
Initial ebuild
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/azureus-bin/ChangeLog10
-rw-r--r--net-p2p/azureus-bin/Manifest7
-rw-r--r--net-p2p/azureus-bin/azureus-bin-2.0.3.2.ebuild50
-rw-r--r--net-p2p/azureus-bin/files/azureus.sh25
-rw-r--r--net-p2p/azureus-bin/files/digest-azureus-bin-2.0.3.22
-rw-r--r--net-p2p/azureus-bin/metadata.xml8
6 files changed, 98 insertions, 4 deletions
diff --git a/net-p2p/azureus-bin/ChangeLog b/net-p2p/azureus-bin/ChangeLog
new file mode 100644
index 000000000000..0ded8d999c0b
--- /dev/null
+++ b/net-p2p/azureus-bin/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-p2p/azureus-bin
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/azureus-bin/ChangeLog,v 1.1 2003/11/26 05:34:17 luke-jr Exp $
+
+*azureus-bin-2.0.3.2 (26 Nov 2003)
+
+ 26 Nov 2003; Luke-Jr <luke-jr@gentoo.org> azureus-bin-2.0.3.2.ebuild,
+ metadata.xml, files/azureus.sh:
+ Initial ebuild
+
diff --git a/net-p2p/azureus-bin/Manifest b/net-p2p/azureus-bin/Manifest
index 21b840bfdb0c..9d793c8a6a9b 100644
--- a/net-p2p/azureus-bin/Manifest
+++ b/net-p2p/azureus-bin/Manifest
@@ -1,6 +1,5 @@
-MD5 23f604e6bc967d5b19d97522240cb887 azureus-bin-2.0.3.2.ebuild~ 1006
MD5 80a944522508f140931083bb409ee54f metadata.xml 216
-MD5 4bd659afabce501eac81e9442bb3129a azureus-bin-2.0.3.2.ebuild 1018
-MD5 2e0a5787aa16212b654cbd58542eb31c files/digest-azureus-bin-2.0.3.2 75
+MD5 8bc9d13be441efa6e2479b8ca979e30f ChangeLog 381
+MD5 3dcc920343bb6a210ef9f3ff2b8c1258 azureus-bin-2.0.3.2.ebuild 1126
+MD5 8d4f7c6e5a7a6d96d189bdc445d71a3f files/digest-azureus-bin-2.0.3.2 148
MD5 dae7bf22191a1f7a32c623ff2239ffee files/azureus.sh 528
-MD5 1640670d747f313bb0cf02f4d76b8f59 files/azureus.sh~ 537
diff --git a/net-p2p/azureus-bin/azureus-bin-2.0.3.2.ebuild b/net-p2p/azureus-bin/azureus-bin-2.0.3.2.ebuild
new file mode 100644
index 000000000000..01d3064ebc80
--- /dev/null
+++ b/net-p2p/azureus-bin/azureus-bin-2.0.3.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc. and Luke-Jr
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/azureus-bin/azureus-bin-2.0.3.2.ebuild,v 1.1 2003/11/26 05:34:17 luke-jr Exp $
+
+inherit java-pkg
+
+IUSE="gtk motif"
+
+DESCRIPTION="Bittorrent client in Java"
+SRC_URI="gtk? ( http://devurandom.net/azureus/files/files/${P/-bin/}-gtk.tar.bz2 )
+ !gtk? ( http://devurandom.net/azureus/files/files/${P/-bin/}-motif.tar.bz2 )"
+HOMEPAGE="http://http://azureus.sourceforge.net"
+S=${WORKDIR}/${PN/-bin/}
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND=">=virtual/jdk-1.4.1"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S} || die "${S} does not exist"
+ sed -i -e "s%"AZDIR\=\.*$"%"AZDIR\=/opt/azureus"%" azureus || die "sed azureus failed"
+}
+
+src_compile() {
+ einfo "No compilation required"
+}
+
+src_install() {
+ #install jar files
+ dodir /opt/azureus
+ insinto /opt/azureus
+ doins *.jar
+
+ into /usr
+
+ #install docs
+ dodoc *.txt README.linux
+
+ #install html
+ dodoc *.html
+
+ #install libraries and binary
+ newbin ${FILESDIR}/azureus.sh azureus
+
+ into /opt/azureus
+ dolib *.so
+}
diff --git a/net-p2p/azureus-bin/files/azureus.sh b/net-p2p/azureus-bin/files/azureus.sh
new file mode 100644
index 000000000000..a78b13799d66
--- /dev/null
+++ b/net-p2p/azureus-bin/files/azureus.sh
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+AZDIR=/opt/azureus
+
+if [ ! -d $AZDIR ]; then
+ echo "You have to edit this script and change the location"
+ echo "where you installed Azureus"
+fi
+
+cd $AZDIR
+
+run=1
+while [ $run -gt 0 ]
+do
+ java -cp Azureus2.jar:swt.jar:swt-pi.jar:systray4j.jar:commons-cli-1.0.jar \
+ -Djava.library.path="$AZDIR:$AZDIR/lib" org.gudy.azureus2.ui.common.Main $*
+ if [ -f Azureus2-new.jar ]
+ then
+ rm Azureus2-new.jar
+ xmessage -center 'Please upgrade Azureus using Portage.'
+ else
+ run=0
+ fi
+done
+[ -f Updater.jar ] && rm Updater.jar
diff --git a/net-p2p/azureus-bin/files/digest-azureus-bin-2.0.3.2 b/net-p2p/azureus-bin/files/digest-azureus-bin-2.0.3.2
new file mode 100644
index 000000000000..e7a4e4ab0d86
--- /dev/null
+++ b/net-p2p/azureus-bin/files/digest-azureus-bin-2.0.3.2
@@ -0,0 +1,2 @@
+MD5 0938199eae9593cb83ec1532608aecbb azureus-2.0.3.2-motif.tar.bz2 2843577
+MD5 75e4e20065f145d60ff9b5d67f861a36 azureus-2.0.3.2-gtk.tar.bz2 2026835
diff --git a/net-p2p/azureus-bin/metadata.xml b/net-p2p/azureus-bin/metadata.xml
new file mode 100644
index 000000000000..5c8f9d12030d
--- /dev/null
+++ b/net-p2p/azureus-bin/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd></herd>
+<maintainer>
+ <email>luke-jr@gentoo.org</email>
+</maintainer>
+</pkgmetadata>