summaryrefslogtreecommitdiff
blob: 95db066fbddb37bc0faf7f4a0520b70d5ed1575b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/phex/phex-3.0.0.99.ebuild,v 1.1 2007/01/12 14:23:05 armin76 Exp $

inherit java-pkg-2

DESCRIPTION="java gnutella file-sharing application"
HOMEPAGE="http://phex.sourceforge.net/"
SRC_URI="mirror://sourceforge/phex/${P/-/_}.zip"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND="app-arch/unzip"
RDEPEND=">=virtual/jdk-1.5
	=dev-java/commons-httpclient-3.0*
	>=dev-java/commons-logging-1.1
	>=dev-java/jgoodies-forms-1.0.5
	>=dev-java/jgoodies-looks-1.3.2"

S=${WORKDIR}/${P/-/_}

src_install() {
	cd ${S}
	java-pkg_dojar lib/phex.jar

	exeinto /usr/bin
	newexe ${FILESDIR}/${P}.sh ${PN}

	dohtml docs/readme/*
}