/[gentoo-x86]/dev-java/joda-time/joda-time-1.3.ebuild
Gentoo

Contents of /dev-java/joda-time/joda-time-1.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sun Mar 11 00:04:31 2007 UTC (12 years, 3 months ago) by betelgeuse
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Remove old version that is not optimal with the DST changes.
(Portage version: 2.1.2.1-r1)

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/joda-time/joda-time-1.3.ebuild,v 1.5 2007/02/03 12:52:58 beandog Exp $
4
5 inherit java-pkg-2 java-ant-2
6
7 MY_P="${P}-src"
8
9 DESCRIPTION="A quality open-source replacement for the Java Date and Time classes."
10 HOMEPAGE="http://joda-time.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
12 LICENSE="Apache-2.0"
13 SLOT="0"
14 KEYWORDS="amd64 x86"
15 IUSE="doc source"
16
17 DEPEND=">=virtual/jdk-1.4
18 dev-java/ant-core
19 source? ( app-arch/zip )"
20 RDEPEND=">=virtual/jre-1.4"
21
22 # test cases won't compile with 1.5+, overriding stuff not implementing abstract
23 RESTRICT="test"
24
25 S="${WORKDIR}/${MY_P}"
26
27 src_unpack() {
28 unpack ${A}
29 cd "${S}"
30
31 rm ${P}.jar
32 }
33
34 src_compile() {
35 # chokes on static inner class making instance of non-static inner class
36 java-pkg_filter-compiler jikes
37 # little trick so it doesn't try to download junit
38 eant -Djunit.ant=1 -Djunit.present=1 jar $(use_doc)
39 }
40
41 src_install() {
42 java-pkg_newjar build/${P}.jar ${PN}.jar
43
44 dodoc LICENSE.txt NOTICE.txt RELEASE-NOTES.txt ToDo.txt
45 use doc && java-pkg_dojavadoc build/docs
46 use source && java-pkg_dosrc src/java
47 }

  ViewVC Help
Powered by ViewVC 1.1.20