summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2005-12-30 18:59:37 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2005-12-30 18:59:37 +0000
commitea80ff6639815fc098ebff32675176d0e2cc86c4 (patch)
treeb371fe8bb5f6986ed8565f8869de28ad526e8ea4 /dev-java/japitools
parentFixes bug #113142 (diff)
downloadgentoo-2-ea80ff6639815fc098ebff32675176d0e2cc86c4.tar.gz
gentoo-2-ea80ff6639815fc098ebff32675176d0e2cc86c4.tar.bz2
gentoo-2-ea80ff6639815fc098ebff32675176d0e2cc86c4.zip
Initial import. Ebuild done by me.
(Portage version: 2.1_pre2)
Diffstat (limited to 'dev-java/japitools')
-rw-r--r--dev-java/japitools/ChangeLog10
-rw-r--r--dev-java/japitools/Manifest4
-rw-r--r--dev-java/japitools/files/digest-japitools-0.9.51
-rw-r--r--dev-java/japitools/japitools-0.9.5.ebuild45
-rw-r--r--dev-java/japitools/metadata.xml18
5 files changed, 78 insertions, 0 deletions
diff --git a/dev-java/japitools/ChangeLog b/dev-java/japitools/ChangeLog
new file mode 100644
index 000000000000..560329d5ff24
--- /dev/null
+++ b/dev-java/japitools/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/japitools
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/japitools/ChangeLog,v 1.1 2005/12/30 18:59:37 betelgeuse Exp $
+
+*japitools-0.9.5 (13 Oct 2005)
+
+ 13 Oct 2005; Petteri Räty <betelgeuse@gentoo.org> +metadata.xml,
+ +japitools-0.9.5.ebuild:
+ Initial import. Ebuild done by me.
+
diff --git a/dev-java/japitools/Manifest b/dev-java/japitools/Manifest
new file mode 100644
index 000000000000..a7b1ec5e1a60
--- /dev/null
+++ b/dev-java/japitools/Manifest
@@ -0,0 +1,4 @@
+MD5 3a68d6f78ea0487e95cbd76df1024aa1 ChangeLog 284
+MD5 c6076c09425e343f38be8cf780bae644 files/digest-japitools-0.9.5 67
+MD5 fa2739ca3b217b61d1c808f7b1ec34e1 japitools-0.9.5.ebuild 892
+MD5 54e9bfa6ebcdf1413c3915998a7b59a3 metadata.xml 587
diff --git a/dev-java/japitools/files/digest-japitools-0.9.5 b/dev-java/japitools/files/digest-japitools-0.9.5
new file mode 100644
index 000000000000..66e37fbec411
--- /dev/null
+++ b/dev-java/japitools/files/digest-japitools-0.9.5
@@ -0,0 +1 @@
+MD5 2416a0e8f20413cf896d0082253ac0fa japitools-0.9.5.tar.gz 370533
diff --git a/dev-java/japitools/japitools-0.9.5.ebuild b/dev-java/japitools/japitools-0.9.5.ebuild
new file mode 100644
index 000000000000..836aa86461f6
--- /dev/null
+++ b/dev-java/japitools/japitools-0.9.5.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/japitools/japitools-0.9.5.ebuild,v 1.1 2005/12/30 18:59:37 betelgeuse Exp $
+
+inherit java-pkg
+
+DESCRIPTION="Java API compatibility testing tools"
+HOMEPAGE="http://www.kaffe.org/~stuart/japi/"
+
+SRC_URI="http://www.kaffe.org/~stuart/japi/${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE="doc source"
+
+DEPEND="dev-java/ant-core
+ >=virtual/jdk-1.4"
+
+RDEPEND=">=virtual/jre-1.4"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+
+ rm -fr ${S}/share/java/*.jar*
+ find ${S} -name "*.class" -type f -o -type d -name "CVS" | xargs rm -fr
+
+ cd ${S}/bin
+ rm japize.bat
+ sed -e "s:../share/java:../share/${PN}/lib:" -i * \
+ || die "Failed to correct the location of the jar file in perl scripts."
+}
+
+src_compile() {
+ ant jar || die "Failed to compile."
+}
+
+src_install() {
+ java-pkg_dojar share/java/*.jar
+ dobin bin/*
+ use doc && dodoc design/*
+}
diff --git a/dev-java/japitools/metadata.xml b/dev-java/japitools/metadata.xml
new file mode 100644
index 000000000000..cefe47d7886d
--- /dev/null
+++ b/dev-java/japitools/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+
+<maintainer>
+<email>betelgeuse@gentoo.org</email>
+<name>Petteri Räty</name>
+</maintainer>
+
+<longdescription>
+Japitools consists of two simple tools designed to test for compatibility
+between Java APIs. They were originally designed for testing free implementations
+of Java itself for compatibility with Sun's JDK, but they can also be used for
+testing backward compatibility between versions of any API.
+</longdescription>
+
+</pkgmetadata>