summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-01-05 20:54:11 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-01-05 20:54:11 +0000
commitc267c9bfcd6f9c65fd12d54fe39c07cfb67b0b65 (patch)
treee39d888b9096c4036abaa8023bd86be367b2e58b /dev-java
parentVersion bump. (Manifest recommit) (diff)
downloadgentoo-2-c267c9bfcd6f9c65fd12d54fe39c07cfb67b0b65.tar.gz
gentoo-2-c267c9bfcd6f9c65fd12d54fe39c07cfb67b0b65.tar.bz2
gentoo-2-c267c9bfcd6f9c65fd12d54fe39c07cfb67b0b65.zip
Initial import. Dependency of #67395.
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jarjar/ChangeLog10
-rw-r--r--dev-java/jarjar/Manifest2
-rw-r--r--dev-java/jarjar/files/asm-2.0_alpha-buildfile.patch41
-rw-r--r--dev-java/jarjar/files/digest-jarjar-0.4_p200501051
-rw-r--r--dev-java/jarjar/jarjar-0.4_p20050105.ebuild46
-rw-r--r--dev-java/jarjar/metadata.xml5
6 files changed, 105 insertions, 0 deletions
diff --git a/dev-java/jarjar/ChangeLog b/dev-java/jarjar/ChangeLog
new file mode 100644
index 000000000000..1cbf3ca48d0e
--- /dev/null
+++ b/dev-java/jarjar/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/jarjar
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jarjar/ChangeLog,v 1.1 2005/01/05 20:54:11 luckyduck Exp $
+
+*jarjar-0.4_p20050105 (05 Jan 2005)
+
+ 05 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org> +metadata.xml,
+ +files/asm-2.0_alpha-buildfile.patch, +jarjar-0.4_p20050105.ebuild:
+ Initial import. Dependency of #67395.
+
diff --git a/dev-java/jarjar/Manifest b/dev-java/jarjar/Manifest
new file mode 100644
index 000000000000..aae22d009545
--- /dev/null
+++ b/dev-java/jarjar/Manifest
@@ -0,0 +1,2 @@
+MD5 e36b3521343fadc5a46f04986a12cf48 jarjar-0.4_p20050105.ebuild 948
+MD5 5cf7fdf1f1aa15a1acee10e1ee4b5cd5 files/digest-jarjar-0.4_p20050105 72
diff --git a/dev-java/jarjar/files/asm-2.0_alpha-buildfile.patch b/dev-java/jarjar/files/asm-2.0_alpha-buildfile.patch
new file mode 100644
index 000000000000..299586695201
--- /dev/null
+++ b/dev-java/jarjar/files/asm-2.0_alpha-buildfile.patch
@@ -0,0 +1,41 @@
+--- build.xml.orig 2005-01-05 21:37:11.710210536 +0100
++++ build.xml 2005-01-05 21:44:50.430474456 +0100
+@@ -20,7 +20,7 @@
+ <property name="compile.extdirs" value=""/>
+
+ <property name="version" value="0.4"/>
+- <property name="jarfile" value="${dist}/jarjar-${version}.jar"/>
++ <property name="jarfile" value="${dist}/jarjar.jar"/>
+
+ <property name="test.jar" value="${build}/rejar.jar"/>
+
+@@ -88,18 +88,13 @@
+
+ <target name="jar" depends="compile" description="Create Jar">
+ <mkdir dir="${dist}"/>
+- <taskdef name="jarjar" classname="com.tonicsystems.jarjar.JarJarTask" classpathref="path.run"/>
+- <jarjar jarfile="${jarfile}">
++ <jar jarfile="${jarfile}">
+ <fileset dir="${build}/main"/>
+- <zipfileset src="${lib}/asm.jar"/>
+- <zipfileset src="${lib}/gnu-regexp.jar"/>
+- <rule pattern="org.objectweb.asm.**" result="com.tonicsystems.jarjar.asm.@1"/>
+- <rule pattern="gnu.**" result="com.tonicsystems.jarjar.@0"/>
+ <manifest>
+ <attribute name="Main-Class" value="com.tonicsystems.jarjar.Main"/>
+ <attribute name="Implementation-Version" value="${version}"/>
+ </manifest>
+- </jarjar>
++ </jar>
+ </target>
+
+ <target name="test-rejar" depends="jar">
+@@ -129,7 +124,7 @@
+ Use="true"
+ />
+ </target>
+-
++
+ <target name="dist" depends="clean,test,javadoc">
+ <!-- TODO -->
+ </target>
diff --git a/dev-java/jarjar/files/digest-jarjar-0.4_p20050105 b/dev-java/jarjar/files/digest-jarjar-0.4_p20050105
new file mode 100644
index 000000000000..99a92f716ce8
--- /dev/null
+++ b/dev-java/jarjar/files/digest-jarjar-0.4_p20050105
@@ -0,0 +1 @@
+MD5 81aae1b6fa61758badaa503beaa626df jarjar-0.4_p20050105.tar.bz2 35698
diff --git a/dev-java/jarjar/jarjar-0.4_p20050105.ebuild b/dev-java/jarjar/jarjar-0.4_p20050105.ebuild
new file mode 100644
index 000000000000..d45e30c70ca5
--- /dev/null
+++ b/dev-java/jarjar/jarjar-0.4_p20050105.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jarjar/jarjar-0.4_p20050105.ebuild,v 1.1 2005/01/05 20:54:11 luckyduck Exp $
+
+inherit eutils java-pkg
+
+DESCRIPTION="Reduce Java dependency headaches by repackaging third-party jars."
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+HOMEPAGE="http://jarjar.sourceforge.net"
+LICENSE="GPL-2"
+SLOT="1"
+KEYWORDS="~x86 ~amd64"
+IUSE="doc jikes"
+DEPEND=">=virtual/jdk-1.3
+ jikes? ( >=dev-java/jikes-1.21 )
+ >=dev-java/ant-core-1.4"
+RDEPEND=">=virtual/jre-1.3
+ =dev-java/asm-2*
+ =dev-java/gnu-regexp-1*"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/asm-2.0_alpha-buildfile.patch
+
+ cd ${S}/lib
+ java-pkg_jar-from asm-2
+ java-pkg_jar-from gnu-regexp-1
+}
+
+src_compile() {
+ local antflags="jar"
+ use doc && antflags="${antflags} docs"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ ant ${antflags} || die "failed to build"
+}
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+
+ dodoc COPYING
+ if use doc; then
+ java-pkg_dohtml -r doc/*
+ fi
+}
diff --git a/dev-java/jarjar/metadata.xml b/dev-java/jarjar/metadata.xml
new file mode 100644
index 000000000000..7303cef96964
--- /dev/null
+++ b/dev-java/jarjar/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>