/[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.1 - (hide annotations) (download)
Sat Oct 11 19:50:07 2008 UTC (9 years, 11 months ago) by caster
Branch: MAIN
Ebuild by me, dependency of jabref, bug #236505.
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1-perfctr x86_64)

1 caster 1.1 # Copyright 1999-2008 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: $
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"
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