summaryrefslogtreecommitdiff
blob: 9d959fbeb42dc8f5954015e0b5f811bda383d705 (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-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/phex/phex-2.8.2.92.ebuild,v 1.1 2006/01/17 21:14:40 sekretarz Exp $

inherit java-pkg

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.4
	=dev-java/commons-httpclient-3.0*
	dev-java/commons-logging
	>=dev-java/jgoodies-forms-1.0.5
	>=dev-java/jgoodies-looks-1.3.1"

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

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

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

	dohtml docs/readme/*
}