summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-10-06 22:12:55 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-10-06 22:12:55 +0000
commit1d0827bb5b640d6120d2f42938ab8c8ba752efaa (patch)
tree461ffde96cbe1d914495b094dc60ffb4320a45fa /dev-java/qat
parentmove dev-java/qat-bin dev-java/qat (diff)
downloadgentoo-2-1d0827bb5b640d6120d2f42938ab8c8ba752efaa.tar.gz
gentoo-2-1d0827bb5b640d6120d2f42938ab8c8ba752efaa.tar.bz2
gentoo-2-1d0827bb5b640d6120d2f42938ab8c8ba752efaa.zip
now builds from source
Diffstat (limited to 'dev-java/qat')
-rw-r--r--dev-java/qat/ChangeLog11
-rw-r--r--dev-java/qat/Manifest3
-rw-r--r--dev-java/qat/files/digest-qat-2.7.1-r11
-rw-r--r--dev-java/qat/metadata.xml5
-rw-r--r--dev-java/qat/qat-2.7.1-r1.ebuild44
5 files changed, 64 insertions, 0 deletions
diff --git a/dev-java/qat/ChangeLog b/dev-java/qat/ChangeLog
new file mode 100644
index 000000000000..13abd161e4c9
--- /dev/null
+++ b/dev-java/qat/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-java/qat
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/qat/ChangeLog,v 1.6 2004/10/06 22:12:55 axxo Exp $
+
+*qat-2.7.1-r1 (07 Oct 2004)
+
+ 07 Oct 2004; Thomas Matthijs <axxo@gentoo.org> +metadata.xml,
+ +qat-2.7.1-r1.ebuild:
+ now builds from source, ebuild submited by Arne Mejlholm <aaby@gentoo.org>
+ in 63298, some modifications by me
+
diff --git a/dev-java/qat/Manifest b/dev-java/qat/Manifest
new file mode 100644
index 000000000000..c9f1e45cd370
--- /dev/null
+++ b/dev-java/qat/Manifest
@@ -0,0 +1,3 @@
+MD5 3cb2975cef5bff86e5280cdf37b7cd6c qat-2.7.1-r1.ebuild 1102
+MD5 123cf9440c1d4ac78f2caba1624765f9 metadata.xml 158
+MD5 6c3f6fa164997df150ac62debfa8355d files/digest-qat-2.7.1-r1 62
diff --git a/dev-java/qat/files/digest-qat-2.7.1-r1 b/dev-java/qat/files/digest-qat-2.7.1-r1
new file mode 100644
index 000000000000..805b695bc9ab
--- /dev/null
+++ b/dev-java/qat/files/digest-qat-2.7.1-r1
@@ -0,0 +1 @@
+MD5 c874b7ad79060f9353be8a669a58da27 qat-2.7.1-src.zip 677940
diff --git a/dev-java/qat/metadata.xml b/dev-java/qat/metadata.xml
new file mode 100644
index 000000000000..7303cef96964
--- /dev/null
+++ b/dev-java/qat/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+</pkgmetadata>
diff --git a/dev-java/qat/qat-2.7.1-r1.ebuild b/dev-java/qat/qat-2.7.1-r1.ebuild
new file mode 100644
index 000000000000..32d3e858e8bb
--- /dev/null
+++ b/dev-java/qat/qat-2.7.1-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/qat/qat-2.7.1-r1.ebuild,v 1.1 2004/10/06 22:12:55 axxo Exp $
+
+inherit java-pkg
+
+DESCRIPTION="Quality Assurance Tester - A distributed test harnass."
+SRC_URI="mirror://sourceforge/qat/qat-${PV}-src.zip"
+HOMEPAGE="http://qat.sourceforge.net"
+LICENSE="sun-csl"
+SLOT="0"
+KEYWORDS="~x86 ~sparc ~ppc"
+DEPEND=">=virtual/jdk-1.3"
+RDEPEND=">=virtual/jre-1.3
+ dev-java/jlfgr
+ dev-java/junit"
+IUSE="doc"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/external/jlfgr/
+ java-pkg_jar-from jlfgr jlfgr.jar jlfgr-1_0.jar
+ cd ${S}/external/junit3.8.1/
+ java-pkg_jar-from junit
+}
+
+src_compile() {
+ ant jar || die "failed to build"
+}
+
+src_install() {
+ mv build/jar/${PN}-${PV}.jar build/jar/${PN}.jar
+ java-pkg_dojar build/jar/${PN}.jar
+
+ echo "#!/bin/sh" > ${PN}
+ echo "java -classpath \$(java-config -p qat,junit,jlfgr) QAT" >> ${PN}
+
+ dobin ${PN}
+
+ use doc && dohtml -r doc/* && dohtml -r specification/* && cp -R examples ${D}/usr/share/doc/${P}/
+}
+