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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

1 # Copyright 1999-2005 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.1.ebuild,v 1.5 2005/07/11 21:28:28 axxo 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="mirror://sourceforge/${PN}/${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