/[gentoo-x86]/dev-java/jpf/jpf-1.5.1.ebuild
Gentoo

Contents of /dev-java/jpf/jpf-1.5.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat Apr 4 19:14:48 2009 UTC (5 years, 5 months ago) by maekke
Branch: MAIN
Changes since 1.3: +2 -2 lines
amd64/x86 stable, bug #263647
(Portage version: 2.1.6.11/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/jpf/jpf-1.5.1.ebuild,v 1.3 2009/03/20 21:01:41 josejx Exp $
4
5 EAPI=1
6
7 inherit java-pkg-2 java-ant-2
8
9 DESCRIPTION="Java Plugin Framework - a runtime engine that dynamically discovers and loads plugins."
10 HOMEPAGE="http://${PN}.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.zip"
12 LICENSE="LGPL-2.1"
13
14 SLOT="1.5"
15 KEYWORDS="amd64 ~ppc x86"
16 IUSE=""
17
18 S="${WORKDIR}"
19
20 COMMON_DEP="dev-java/commons-logging:0
21 dev-java/ant-core"
22 DEPEND="app-arch/unzip
23 >=virtual/jdk-1.5
24 ${COMMON_DEP}"
25 RDEPEND=">=virtual/jre-1.5
26 ${COMMON_DEP}"
27
28 src_unpack() {
29 unpack ${A}
30 cd "${S}"
31
32 java-ant_rewrite-classpath
33 rm -fv lib/*.jar || die
34 # needs some not yet packaged jxp dep, will add only on demand
35 rm -rfv source-tools/org/java/plugin/tools/{docgen,ant/DocTask.java} || die
36 }
37
38 # doc target is name="-javadoc" and would need a patch, on demand
39 EANT_GENTOO_CLASSPATH="commons-logging,ant-core"
40
41 src_install() {
42 java-pkg_dojar build/lib/jpf*.jar
43 java-pkg_register-ant-task
44
45 newdoc README.txt README || die
46 dodoc changelog.txt || die
47 }

  ViewVC Help
Powered by ViewVC 1.1.20