diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-03-30 22:11:57 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-03-30 22:11:57 +0000 |
commit | 0141f487c520fb5db15c9da826a5809fea840488 (patch) | |
tree | 299c85ed5a9bdd47f7ece77258568fbe82eb0cba /dev-java/commons-primitives | |
parent | Version bump [ 3.0.2_rc2 >> 3.0.2 as stable ]. (diff) | |
download | historical-0141f487c520fb5db15c9da826a5809fea840488.tar.gz historical-0141f487c520fb5db15c9da826a5809fea840488.tar.bz2 historical-0141f487c520fb5db15c9da826a5809fea840488.zip |
Initial import. Fixes #46288.
Diffstat (limited to 'dev-java/commons-primitives')
-rw-r--r-- | dev-java/commons-primitives/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/commons-primitives/Manifest | 4 | ||||
-rw-r--r-- | dev-java/commons-primitives/commons-primitives-1.0.ebuild | 38 | ||||
-rw-r--r-- | dev-java/commons-primitives/files/digest-commons-primitives-1.0 | 1 | ||||
-rw-r--r-- | dev-java/commons-primitives/metadata.xml | 14 |
5 files changed, 65 insertions, 0 deletions
diff --git a/dev-java/commons-primitives/ChangeLog b/dev-java/commons-primitives/ChangeLog new file mode 100644 index 000000000000..b12cae0c8942 --- /dev/null +++ b/dev-java/commons-primitives/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for dev-java/commons-primitives +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed unde the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-primitives/ChangeLog,v 1.1 2004/03/30 22:11:57 karltk Exp $ + + + 30 Mar 2004; Karl Trygve Kalleberg <karltk@gentoo.org> + commons-primitives-1.0.ebuild: Initial import. Ebuild submitted by + myself. diff --git a/dev-java/commons-primitives/Manifest b/dev-java/commons-primitives/Manifest new file mode 100644 index 000000000000..ad7a384d0da7 --- /dev/null +++ b/dev-java/commons-primitives/Manifest @@ -0,0 +1,4 @@ +MD5 e2ed47220b9e33a655ec9b0c3c325ba5 commons-primitives-1.0.ebuild 1102 +MD5 cad8fde0d1cdd7d00c5657743e1b20cb ChangeLog 372 +MD5 0310767b2ff676820a832934e4121aef metadata.xml 510 +MD5 fc86ad5bce5744c5bb8b9e3f61f702d6 files/digest-commons-primitives-1.0 78 diff --git a/dev-java/commons-primitives/commons-primitives-1.0.ebuild b/dev-java/commons-primitives/commons-primitives-1.0.ebuild new file mode 100644 index 000000000000..e7368eef4946 --- /dev/null +++ b/dev-java/commons-primitives/commons-primitives-1.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-primitives/commons-primitives-1.0.ebuild,v 1.1 2004/03/30 22:11:57 karltk Exp $ + +inherit java-pkg + +DESCRIPTION="The Jakarta-Commons Primitives Component" +HOMEPAGE="http://jakarta.apache.org/commons/primitives/" +SRC_URI="mirror://apache/jakarta/commons/primitives/source/${PN}-${PV}-src.tar.gz" +DEPEND=">=virtual/jdk-1.3 + >=dev-java/ant-1.4 + jikes? ( dev-java/jikes ) + junit? ( >=dev-java/junit-3.7 )" +RDEPEND=">=virtual/jdk-1.3" +LICENSE="Apache-1.1" +SLOT="0" +KEYWORDS="~x86" +IUSE="doc jikes junit" + +src_unpack() { + unpack ${A} + cd ${S} + echo "junit.jar=`java-config -p junit`" >> build.properties +} + +src_compile() { + local antflags="compile" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + use doc && antflags="${antflags} javadoc" + use junit && antflags="${antflags} test" + ant ${antflags} jar || die "compile problem" +} + +src_install() { + java-pkg_dojar target/${PN}-${PV}.jar + + use doc && dohtml -r target/docs/api/* +} diff --git a/dev-java/commons-primitives/files/digest-commons-primitives-1.0 b/dev-java/commons-primitives/files/digest-commons-primitives-1.0 new file mode 100644 index 000000000000..818681ba35d1 --- /dev/null +++ b/dev-java/commons-primitives/files/digest-commons-primitives-1.0 @@ -0,0 +1 @@ +MD5 cc561194b876a797fe4ebef473a91764 commons-primitives-1.0-src.tar.gz 172369 diff --git a/dev-java/commons-primitives/metadata.xml b/dev-java/commons-primitives/metadata.xml new file mode 100644 index 000000000000..72db416dc3ba --- /dev/null +++ b/dev-java/commons-primitives/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> +<herd>java</herd> + +<longdescription> + Apache Jakarta Commons Primitives provides a collection of types and + utilities optimized for working with Java primitives (boolean, byte, + char, double, float, int, long, short). Generally, the + Commons-Primitives classes are smaller, faster and easier to work with + than their purely Object based alternatives. +</longdescription> +</pkgmetadata> |