Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 278806
Collapse All | Expand All

(-)gentoo/dev-java/jpf/jpf-1.5.1.ebuild (-8 / +6 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
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.4 2009/04/04 19:14:48 maekke Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-java/jpf/jpf-1.5.1.ebuild,v 1.4 2009/04/04 19:14:48 maekke Exp $
4
4
5
EAPI=1
5
EAPI=3
6
6
7
inherit java-pkg-2 java-ant-2
7
inherit java-pkg-2 java-ant-2
8
8
Lines 25-43 Link Here
25
RDEPEND=">=virtual/jre-1.5
25
RDEPEND=">=virtual/jre-1.5
26
	${COMMON_DEP}"
26
	${COMMON_DEP}"
27
27
28
src_unpack() {
28
# doc target is name="-javadoc" and would need a patch, on demand
29
	unpack ${A}
29
EANT_GENTOO_CLASSPATH="commons-logging,ant-core"
30
	cd "${S}"
30
JAVA_ANT_REWRITE_CLASSPATH="yes"
31
31
32
	java-ant_rewrite-classpath
32
java_prepare() {
33
	rm -fv lib/*.jar || die
33
	rm -fv lib/*.jar || die
34
	# needs some not yet packaged jxp dep, will add only on demand
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
35
	rm -rfv source-tools/org/java/plugin/tools/{docgen,ant/DocTask.java} || die
36
	sed -ie '/jpf-doc/d' source-tools/org/java/plugin/tools/ant/jpf-tasks.properties || die
36
}
37
}
37
38
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() {
39
src_install() {
42
	java-pkg_dojar build/lib/jpf*.jar
40
	java-pkg_dojar build/lib/jpf*.jar
43
	java-pkg_register-ant-task
41
	java-pkg_register-ant-task

Return to bug 278806