diff options
author | Vlastimil Babka <caster@gentoo.org> | 2006-11-23 12:26:36 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2006-11-23 12:26:36 +0000 |
commit | 0caf1d60b71d62e6803e6de112a6a4f08b273879 (patch) | |
tree | 7dc6ab78ed9b6a981a9072c4c441839da74d4515 /dev-java/xml-commons-resolver/xml-commons-resolver-1.2.ebuild | |
parent | inital commit, ebuild provided by Mark Silinio <silinio@fromru.com> in bug #1... (diff) | |
download | historical-0caf1d60b71d62e6803e6de112a6a4f08b273879.tar.gz historical-0caf1d60b71d62e6803e6de112a6a4f08b273879.tar.bz2 historical-0caf1d60b71d62e6803e6de112a6a4f08b273879.zip |
Version bump.
Package-Manager: portage-2.1.2_rc2-r1
Diffstat (limited to 'dev-java/xml-commons-resolver/xml-commons-resolver-1.2.ebuild')
-rw-r--r-- | dev-java/xml-commons-resolver/xml-commons-resolver-1.2.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-java/xml-commons-resolver/xml-commons-resolver-1.2.ebuild b/dev-java/xml-commons-resolver/xml-commons-resolver-1.2.ebuild new file mode 100644 index 000000000000..20578bee53bc --- /dev/null +++ b/dev-java/xml-commons-resolver/xml-commons-resolver-1.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/xml-commons-resolver/xml-commons-resolver-1.2.ebuild,v 1.1 2006/11/23 12:26:36 caster Exp $ + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="An XML Entity and URI Resolver" +HOMEPAGE="http://xml.apache.org/commons/" +SRC_URI="mirror://apache/xml/commons/${P}.tar.gz" +DEPEND=">=virtual/jdk-1.3 + dev-java/ant-core + source? ( app-arch/zip )" +RDEPEND=">=virtual/jre-1.3" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="doc source" + +JAVA_PKG_BSFIX_NAME="resolver.xml" + +src_unpack() { + unpack ${A} + cd "${S}" + + rm -rf apidocs resolver.jar +} + +src_compile() { + eant -f resolver.xml jar $(use_doc javadocs) +} + +src_install() { + java-pkg_newjar build/resolver.jar + + dodoc KEYS LICENSE.resolver.txt NOTICE-resolver.txt + if use doc; then + java-pkg_dojavadoc build/apidocs/resolver + java-pkg_dohtml docs/*.html + fi + + use source && java-pkg_dosrc src/org +} |