/[gentoo-x86]/dev-java/xml-writer/xml-writer-0.2.ebuild
Gentoo

Contents of /dev-java/xml-writer/xml-writer-0.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations) (download)
Mon Dec 28 08:55:42 2009 UTC (10 years, 1 month ago) by josejx
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +2 -2 lines
Marked ppc/ppc64 stable for bug #287619.
(Portage version: 2.1.6.13/cvs/Linux x86_64)

1 josejx 1.4 # Copyright 1999-2009 Gentoo Foundation
2 betelgeuse 1.1 # Distributed under the terms of the GNU General Public License v2
3 josejx 1.6 # $Header: /var/cvsroot/gentoo-x86/dev-java/xml-writer/xml-writer-0.2.ebuild,v 1.5 2009/10/15 08:36:00 maekke Exp $
4 betelgeuse 1.1
5     JAVA_PKG_IUSE="doc examples source"
6    
7     inherit java-pkg-2 java-ant-2
8    
9     DESCRIPTION="A simple XML Writer"
10     HOMEPAGE="http://www.megginson.com/downloads/"
11     SRC_URI="http://www.megginson.com/downloads/${P}.zip"
12    
13     LICENSE="public-domain"
14     SLOT="0"
15 josejx 1.6 KEYWORDS="amd64 ppc ppc64 x86"
16 betelgeuse 1.1
17     RDEPEND=">=virtual/jre-1.4"
18     DEPEND=">=virtual/jdk-1.4
19     app-arch/unzip
20     ${COMMON_DEP}"
21    
22     src_unpack() {
23     unpack ${A}
24     cd "${S}"
25     java-ant_xml-rewrite -f build.xml -e javac -d -a filtering
26     rm -v *.jar || die
27     rm -v *.class || die
28     rm -rv classes || die
29     }
30    
31     src_install() {
32     java-pkg_dojar *.jar
33     dodoc README ChangeLog BUGS || die
34     use doc && java-pkg_dojavadoc docs/javadoc
35     use examples && java-pkg_doexamples *.java sample.xml
36     use source && java-pkg_dosrc src/*
37     }

  ViewVC Help
Powered by ViewVC 1.1.20