summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-07-02 06:09:02 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-07-02 06:09:02 +0000
commit6ce9f3441ae1eeb5aa0d03735d983fb720f81b56 (patch)
tree8db4dcc934cf698696dd447c5aa631951739ae6b /dev-java/asm/asm-1.4.1-r1.ebuild
parentFix building with autoconf-2.60 #138360 by Petr Kocmid. (diff)
downloadhistorical-6ce9f3441ae1eeb5aa0d03735d983fb720f81b56.tar.gz
historical-6ce9f3441ae1eeb5aa0d03735d983fb720f81b56.tar.bz2
historical-6ce9f3441ae1eeb5aa0d03735d983fb720f81b56.zip
Revision bumps to support new Java system.
Package-Manager: portage-2.1.1_pre1
Diffstat (limited to 'dev-java/asm/asm-1.4.1-r1.ebuild')
-rw-r--r--dev-java/asm/asm-1.4.1-r1.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-java/asm/asm-1.4.1-r1.ebuild b/dev-java/asm/asm-1.4.1-r1.ebuild
new file mode 100644
index 000000000000..e893d90e4384
--- /dev/null
+++ b/dev-java/asm/asm-1.4.1-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/asm/asm-1.4.1-r1.ebuild,v 1.1 2006/07/02 06:09:02 nichoj Exp $
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Bytecode manipulation framework for Java"
+HOMEPAGE="http://asm.objectweb.org"
+SRC_URI="http://download.forge.objectweb.org/${PN}/ASM_${PV}_src.zip"
+LICENSE="BSD"
+SLOT="1.4.1"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE="doc source"
+DEPEND=">=virtual/jdk-1.3
+ app-arch/unzip
+ dev-java/ant-core
+ dev-java/ant-owanttask
+ source? ( app-arch/zip )"
+RDEPEND=">=virtual/jre-1.3"
+
+S=${WORKDIR}/ASM/dev/
+
+ant_src_unpack() {
+ unpack ${A}
+ cd ${S}
+ echo "objectweb.ant.tasks.path /usr/share/ant-owanttask/lib/ow_util_ant_tasks.jar" \
+ >> build.properties
+}
+
+src_compile() {
+ eant jar $(use_doc jdoc)
+}
+
+src_install() {
+ for x in output/dist/lib/*.jar ; do
+ java-pkg_newjar ${x} $(basename ${x/-${PV}})
+ done
+ use doc && java-pkg_dohtml -r output/dist/doc/javadoc/user/*
+ use source && java-pkg_dosrc src/*
+}