diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2005-12-09 04:15:15 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2005-12-09 04:15:15 +0000 |
commit | 73b1339201898a025ed04a1cc2120b35d1b978e5 (patch) | |
tree | 19926a545e16fd309acc4270b86e29eee0feb83b /dev-java/xml-commons-external/xml-commons-external-1.3.02.ebuild | |
parent | digest fix (diff) | |
download | historical-73b1339201898a025ed04a1cc2120b35d1b978e5.tar.gz historical-73b1339201898a025ed04a1cc2120b35d1b978e5.tar.bz2 historical-73b1339201898a025ed04a1cc2120b35d1b978e5.zip |
Initial commit. Needed for bug #109373 and bug #113628.
Package-Manager: portage-2.0.53_rc7
Diffstat (limited to 'dev-java/xml-commons-external/xml-commons-external-1.3.02.ebuild')
-rw-r--r-- | dev-java/xml-commons-external/xml-commons-external-1.3.02.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-java/xml-commons-external/xml-commons-external-1.3.02.ebuild b/dev-java/xml-commons-external/xml-commons-external-1.3.02.ebuild new file mode 100644 index 000000000000..0502f22c3f47 --- /dev/null +++ b/dev-java/xml-commons-external/xml-commons-external-1.3.02.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2005 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.ebuild,v 1.1 2005/12/09 04:15:15 nichoj Exp $ + +inherit java-pkg + +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="~x86 ~amd64" +IUSE="doc source" + +DEPEND=">=virtual/jdk-1.3 + dev-java/ant-core" +RDEPEND=">=virtual/jre-1.3" + +src_compile() { + local antflags="jar" + use doc && antflags="${antflags} -Dbuild.javadocs.dir=build/docs/api" + ant ${antflags} || die "Compile failed" +} + +src_install() { + java-pkg_dojar build/*.jar + dodoc NOTICE README.* + + use doc && java-pkg_dohtml -r docs/api + use source && java-pkg_dosrc src/* +} |