blob: 8d1136c5fa9aa246cda38307cab9de79f3311ba7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/xml-commons-external/xml-commons-external-1.3.02-r1.ebuild,v 1.9 2007/01/03 20:36:04 beandog Exp $
inherit java-pkg-2 java-ant-2
DESCRIPTION="Thirdparty libraries for xml-commons"
HOMEPAGE="http://xml.apache.org/commons/"
SRC_URI="mirror://gentoo/distfiles/${P}.tar.bz2"
# svn co http://svn.apache.org/repos/asf/xml/commons/tags/xml-commons-external-1_3_02/java/external/ xml-commons-external-1.3.02
# tar cjf xml-commons-external-1.3.02.tar.bz2 xml-commons-external-1.3.02
LICENSE="Apache-2.0"
SLOT="1.3"
KEYWORDS="amd64 ia64 ppc ppc64 x86 ~x86-fbsd"
IUSE="doc source"
DEPEND=">=virtual/jdk-1.3
dev-java/ant-core"
RDEPEND=">=virtual/jre-1.3"
src_compile() {
eant jar $(use_doc -Dbuild.javadocs.dir=build/docs/api)
}
src_install() {
java-pkg_dojar build/*.jar
dodoc NOTICE README.*
use doc && java-pkg_dohtml -r docs/api
use source && java-pkg_dosrc src/*
}
|