/[gentoo-x86]/dev-java/exolabtools/exolabtools-1.0_p20050205-r1.ebuild
Gentoo

Contents of /dev-java/exolabtools/exolabtools-1.0_p20050205-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Apr 25 19:54:42 2007 UTC (7 years, 4 months ago) by betelgeuse
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +6 -5 lines
Add dev-java/ant-core to RDEPEND.
(Portage version: 2.1.2.4)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/exolabtools/exolabtools-1.0_p20050205-r1.ebuild,v 1.4 2007/04/12 13:52:10 welp Exp $
4
5 JAVA_PKG_IUSE="doc source"
6
7 inherit java-pkg-2 java-ant-2
8
9 MY_P=${P/-1.0_p/-}
10
11 DESCRIPTION="Exolab Build Tools"
12 HOMEPAGE="http://openjms.cvs.sourceforge.net/openjms/tools/src/main/org/exolab/tools/ant/"
13 SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
14
15 LICENSE="Exolab"
16 SLOT="0"
17 KEYWORDS="amd64 ~ppc x86"
18 IUSE="doc source"
19
20 RDEPEND=">=virtual/jre-1.4
21 =dev-java/jakarta-oro-2.0*
22 dev-java/ant-core"
23
24 DEPEND=">=virtual/jdk-1.4
25 =dev-java/jakarta-oro-2.0*"
26
27 S="${WORKDIR}/${MY_P}/"
28
29 src_unpack() {
30 unpack "${A}"
31
32 cd "${S}/src/etc"
33 mv JARS JARS.upstream || die
34 echo "project.jar.oro=jakarta-oro.jar" > JARS
35 echo "project.jar.ant=ant.jar" >> JARS
36
37 cd "${S}/lib"
38 java-pkg_jar-from jakarta-oro-2.0
39 java-pkg_jar-from ant-core
40 }
41
42 src_compile() {
43 cd src
44 java-pkg-2_src_compile
45 }
46
47 src_install() {
48 java-pkg_newjar dist/${PN}-1.0.jar ${PN}.jar
49
50 dodoc src/etc/CHANGELOG src/etc/VERSION || die
51
52 use doc && java-pkg_dojavadoc build/doc
53 use source && java-pkg_dosrc src/main/*
54 }

  ViewVC Help
Powered by ViewVC 1.1.20