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

Contents of /dev-java/nanoxml/nanoxml-2.2.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Feb 18 19:54:08 2007 UTC (13 years ago) by betelgeuse
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Cleanup.
(Portage version: 2.1.2-r9)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/nanoxml/nanoxml-2.2.3.ebuild,v 1.2 2006/02/17 20:09:22 hansmi Exp $
4
5 inherit java-pkg
6
7 DESCRIPTION="NanoXML is a small non-validating parser for Java. "
8
9 HOMEPAGE="http://nanoxml.sourceforge.net/"
10 MY_P=NanoXML-${PV}
11 SRC_URI="http://nanoxml.cyberelf.be/downloads/${MY_P}.tar.gz"
12 LICENSE="ZLIB"
13 SLOT="0"
14 KEYWORDS="~amd64 ppc x86"
15 IUSE="doc"
16 DEPEND=">=virtual/jdk-1.3
17 ${RDEPEND}"
18 RDEPEND=">=virtual/jre-1.3
19 dev-java/sax"
20
21 S=${WORKDIR}/${MY_P}
22
23 src_unpack() {
24 unpack ${A}
25 cd ${S}/ThirdParty/SAX
26 java-pkg_jar-from sax
27 cd ${S}
28 sed -e "s:/tmp/:${T}:g" -i build.sh || die "failed to sed"
29 }
30
31 src_compile() {
32 ./build.sh || die "failed to build"
33 }
34
35 src_install() {
36 java-pkg_dojar Output/*.jar
37
38 use doc && java-pkg_dohtml -r Documentation/*
39 }

  ViewVC Help
Powered by ViewVC 1.1.20