Initial import. Fixes #46288.
authorKarl Trygve Kalleberg <karltk@gentoo.org>
Tue, 30 Mar 2004 22:11:57 +0000 (22:11 +0000)
committerKarl Trygve Kalleberg <karltk@gentoo.org>
Tue, 30 Mar 2004 22:11:57 +0000 (22:11 +0000)
dev-java/commons-primitives/ChangeLog [new file with mode: 0644]
dev-java/commons-primitives/Manifest [new file with mode: 0644]
dev-java/commons-primitives/commons-primitives-1.0.ebuild [new file with mode: 0644]
dev-java/commons-primitives/files/digest-commons-primitives-1.0 [new file with mode: 0644]
dev-java/commons-primitives/metadata.xml [new file with mode: 0644]

diff --git a/dev-java/commons-primitives/ChangeLog b/dev-java/commons-primitives/ChangeLog
new file mode 100644 (file)
index 0000000..b12cae0
--- /dev/null
@@ -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 (file)
index 0000000..ad7a384
--- /dev/null
@@ -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 (file)
index 0000000..e7368ee
--- /dev/null
@@ -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 (file)
index 0000000..818681b
--- /dev/null
@@ -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 (file)
index 0000000..72db416
--- /dev/null
@@ -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>