summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Hood <squinky86@gentoo.org>2004-06-16 12:37:33 +0000
committerJon Hood <squinky86@gentoo.org>2004-06-16 12:37:33 +0000
commitc9a9691f1d6c8bf91cd9a4e19ededbd7b0b8b12a (patch)
treee6acc06b118ee72109f7485c6ce4cbee8a525c4c /net-p2p/g2gui
parentMoved patch and amd64 ucc-bin/ut2004-bin renames to before uncompressing to a... (diff)
downloadgentoo-2-c9a9691f1d6c8bf91cd9a4e19ededbd7b0b8b12a.tar.gz
gentoo-2-c9a9691f1d6c8bf91cd9a4e19ededbd7b0b8b12a.tar.bz2
gentoo-2-c9a9691f1d6c8bf91cd9a4e19ededbd7b0b8b12a.zip
Initial import. Closes #40269.
Diffstat (limited to 'net-p2p/g2gui')
-rw-r--r--net-p2p/g2gui/ChangeLog11
-rw-r--r--net-p2p/g2gui/Manifest2
-rw-r--r--net-p2p/g2gui/files/digest-g2gui-0.3.0_pre11
-rw-r--r--net-p2p/g2gui/g2gui-0.3.0_pre1.ebuild42
-rw-r--r--net-p2p/g2gui/metadata.xml8
5 files changed, 64 insertions, 0 deletions
diff --git a/net-p2p/g2gui/ChangeLog b/net-p2p/g2gui/ChangeLog
new file mode 100644
index 000000000000..e29db301039a
--- /dev/null
+++ b/net-p2p/g2gui/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-p2p/g2gui
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/g2gui/ChangeLog,v 1.1 2004/06/16 12:37:32 squinky86 Exp $
+
+*g2gui-0.3.0_pre1 (16 Jun 2004)
+
+ 16 Jun 2004; Jon Hood <squinky86@gentoo.org> +metadata.xml,
+ +g2gui-0.3.0_pre1.ebuild:
+ Initial commit. Thanks to Charles Goodwin <charlie@vexi.org> and Dylan
+ Wakefield <dylanw@telpacific.com.au>, #40269
+
diff --git a/net-p2p/g2gui/Manifest b/net-p2p/g2gui/Manifest
new file mode 100644
index 000000000000..630f3ef789c5
--- /dev/null
+++ b/net-p2p/g2gui/Manifest
@@ -0,0 +1,2 @@
+MD5 e15204a18454ab444bbc65037b0f3572 g2gui-0.3.0_pre1.ebuild 1086
+MD5 265d077c277fbfe40578183844bdd9cf files/digest-g2gui-0.3.0_pre1 84
diff --git a/net-p2p/g2gui/files/digest-g2gui-0.3.0_pre1 b/net-p2p/g2gui/files/digest-g2gui-0.3.0_pre1
new file mode 100644
index 000000000000..3ee673affdb6
--- /dev/null
+++ b/net-p2p/g2gui/files/digest-g2gui-0.3.0_pre1
@@ -0,0 +1 @@
+MD5 7f4770e42530215f51fb320029aa2732 g2gui-0.3.0-pre1-linux-jar-gtk.tar.bz2 2943141
diff --git a/net-p2p/g2gui/g2gui-0.3.0_pre1.ebuild b/net-p2p/g2gui/g2gui-0.3.0_pre1.ebuild
new file mode 100644
index 000000000000..376cd2ae5293
--- /dev/null
+++ b/net-p2p/g2gui/g2gui-0.3.0_pre1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/g2gui/g2gui-0.3.0_pre1.ebuild,v 1.1 2004/06/16 12:37:32 squinky86 Exp $
+
+MY_P=${P/_/-}-linux-jar-gtk
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="The 2nd generation gui for the universal p2p-client mldonkey"
+HOMEPAGE="http://developer.berlios.de/projects/mldonkey/"
+SRC_URI="http://download.berlios.de/mldonkey/${MY_P}.tar.bz2"
+LICENSE="GPL-2 CPL-1.0"
+KEYWORDS="~x86"
+SLOT="0"
+DEPEND=">=sys-apps/sed-4"
+RDEPEND="virtual/jdk"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i -e 's:cd $(dirname $0):cd /usr/share/g2gui:g' g2gui
+}
+
+src_compile() {
+ if [ -z "$JAVA_HOME" ]; then
+ einfo
+ einfo "\$JAVA_HOME not set!"
+ einfo "Please use java-config to configure your JVM and try again."
+ einfo
+ die "\$JAVA_HOME not set."
+ fi
+}
+
+src_install () {
+ dodir /usr/share/g2gui
+ dodir /usr/bin
+ cd ${WORKDIR}/${P/_/-}-linux-jar-gtk
+ cp -R g2gui distrib g2submit lib ${D}/usr/share/g2gui
+ cd ${D}/usr/share/g2gui
+ chmod -R u+rw,ug-s,go+u,go-w distrib g2submit lib
+ chmod 755 ${D}/usr/share/g2gui/g2gui
+ dosym ${D}/usr/share/g2gui/g2gui /usr/bin/g2gui
+}
diff --git a/net-p2p/g2gui/metadata.xml b/net-p2p/g2gui/metadata.xml
new file mode 100644
index 000000000000..c8bafd42f27b
--- /dev/null
+++ b/net-p2p/g2gui/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>net-p2p</herd>
+<maintainer>
+ <email>net-p2p@gentoo.org</email>
+</maintainer>
+</pkgmetadata>