/[gentoo-x86]/dev-java/jvyaml/jvyaml-0.2.1.ebuild
Gentoo

Contents of /dev-java/jvyaml/jvyaml-0.2.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sat Feb 10 19:27:23 2007 UTC (13 years ago) by nichoj
Branch: MAIN
Version bump.
(Portage version: 2.1.2-r7)

1 nichoj 1.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/jvyaml/jvyaml-0.2.ebuild,v 1.2 2007/01/05 20:41:06 caster Exp $
4    
5     inherit java-pkg-2 java-ant-2 eutils
6    
7     DESCRIPTION="Java YAML parser and emitter"
8     HOMEPAGE="https://jvyaml.dev.java.net/"
9     SRC_URI="https://${PN}.dev.java.net/files/documents/5215/41455/${PN}-src-${PV}.tar.gz"
10     LICENSE="MIT"
11     SLOT="0"
12     KEYWORDS="~amd64 ~ppc ~x86"
13     IUSE="source test"
14     DEPEND=">=virtual/jdk-1.4
15     test? (
16     dev-java/ant
17     dev-java/junit
18     )
19     !test? (
20     dev-java/ant-core
21     )
22     source? ( app-arch/zip )"
23     RDEPEND=">=virtual/jre-1.4"
24    
25     src_unpack() {
26     unpack ${A}
27     cd ${S}
28     epatch ${FILESDIR}/${PN}-0.2-tests.patch
29    
30     cd lib
31     rm *.jar
32     use test && java-pkg_jar-from junit
33     }
34    
35     src_install() {
36     java-pkg_dojar lib/${PN}.jar
37     dodoc README
38     dodoc CREDITS
39     use source && java-pkg_dosrc src/*
40     }
41    
42     src_test() {
43     ewarn "Tests are known to fail in some timezones. See"
44     ewarn "https://jvyaml.dev.java.net/issues/show_bug.cgi?id=5"
45     eant test
46     }

  ViewVC Help
Powered by ViewVC 1.1.20