/[gentoo-x86]/dev-java/plexus-classworlds/plexus-classworlds-2.2.3.ebuild
Gentoo

Contents of /dev-java/plexus-classworlds/plexus-classworlds-2.2.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Nov 24 15:04:11 2013 UTC (6 years, 1 month ago) by ercpe
Branch: MAIN
CVS Tags: HEAD
Added ebuild for plexus-classworlds, the class loader framework of the Plexus project

(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 77C501ED)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=5
6
7 JAVA_PKG_IUSE="doc source test"
8
9 inherit java-pkg-2 java-ant-2
10
11 DESCRIPTION="The class loader framework of the Plexus project"
12 HOMEPAGE="http://plexus.codehaus.org/"
13 SRC_URI="http://dev.gentoo.org/~ercpe/distfiles/${CATEGORY}/${PN}/${P}.tar.bz2"
14
15 LICENSE="codehaus-classworlds"
16
17 SLOT="0"
18 KEYWORDS="~amd64 ~x86"
19 IUSE=""
20
21 DEPEND=">=virtual/jdk-1.6
22 test? ( dev-java/junit:4 )"
23 RDEPEND=">=virtual/jre-1.6"
24
25 JAVA_ANT_REWRITE_CLASSPATH="true"
26 EANT_TEST_GENTOO_CLASSPATH="junit-4"
27 EANT_TEST_ANT_TASKS="ant-junit"
28
29 java_prepare() {
30 cp "${FILESDIR}"/${PV}-build.xml "${S}"/build.xml || die
31 }
32
33 src_install() {
34 java-pkg_newjar "${S}/target/${P}.jar" "${PN}.jar"
35
36 use source && java-pkg_dosrc "${S}"/src/main/java/*
37 use doc && java-pkg_dojavadoc "${S}"/target/site/apidocs
38 }
39
40 src_test() {
41 java-pkg-2_src_test
42 }

  ViewVC Help
Powered by ViewVC 1.1.20