summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-java/cglib/ChangeLog10
-rw-r--r--dev-java/cglib/Manifest4
-rw-r--r--dev-java/cglib/cglib-2.0.2.ebuild40
-rw-r--r--dev-java/cglib/files/digest-cglib-2.0.21
-rw-r--r--dev-java/cglib/metadata.xml5
5 files changed, 60 insertions, 0 deletions
diff --git a/dev-java/cglib/ChangeLog b/dev-java/cglib/ChangeLog
new file mode 100644
index 000000000000..f8f7dbd163c0
--- /dev/null
+++ b/dev-java/cglib/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/cglib
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/cglib/ChangeLog,v 1.1 2004/12/27 14:54:56 st_lim Exp $
+
+*cglib-2.0.2 (27 Dec 2004)
+
+ 27 Dec 2004; Lim Swee Tat <st_lim@gentoo.org> +metadata.xml,
+ +cglib-2.0.2.ebuild:
+ Initial add to support hibernate
+
diff --git a/dev-java/cglib/Manifest b/dev-java/cglib/Manifest
new file mode 100644
index 000000000000..f340d3ac0a3c
--- /dev/null
+++ b/dev-java/cglib/Manifest
@@ -0,0 +1,4 @@
+MD5 eee5ef70e28b7fc2023c9f3bc3aedaae ChangeLog 351
+MD5 48e0b60e0e0bcc7420730649e73eb1da cglib-2.0.2.ebuild 1092
+MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+MD5 b6f8a58fff30e586496183aa9f0af130 files/digest-cglib-2.0.2 64
diff --git a/dev-java/cglib/cglib-2.0.2.ebuild b/dev-java/cglib/cglib-2.0.2.ebuild
new file mode 100644
index 000000000000..19a0f51c6032
--- /dev/null
+++ b/dev-java/cglib/cglib-2.0.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/cglib/cglib-2.0.2.ebuild,v 1.1 2004/12/27 14:54:56 st_lim Exp $
+
+inherit java-pkg
+
+DESCRIPTION="cglib is a Dynamic Java byte code generator"
+HOMEPAGE="http://cglib.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.jar"
+DEPEND=">=virtual/jdk-1.3
+ dev-java/asm
+ >=dev-java/ant-1.4"
+RDEPEND=">=virtual/jre-1.3"
+LICENSE="LGPL-2"
+SLOT="2"
+KEYWORDS="x86 ~ppc ~amd64"
+IUSE="jikes doc"
+
+S=${WORKDIR}
+
+src_unpack() {
+ cd ${S}
+ jar xf ${DISTDIR}/${A}
+ cd ${S}
+ echo "j2ee.jar.base.dir=`java-config --jdk-home`" > build.properties
+}
+
+src_compile() {
+ local antflags="jar"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ use doc && antflags="${antflags} javadoc"
+ #use junit && antflags="${antflags} test"
+ ant ${antflags} || die "compilation failed"
+}
+
+src_install () {
+ java-pkg_dojar dist/${PN}-full-${PV}.jar || die "installation failed"
+ dodoc README NOTICE LICENSE
+ use doc && java-pkg_dohtml -r build/apidocs/*
+}
diff --git a/dev-java/cglib/files/digest-cglib-2.0.2 b/dev-java/cglib/files/digest-cglib-2.0.2
new file mode 100644
index 000000000000..df076b21d49f
--- /dev/null
+++ b/dev-java/cglib/files/digest-cglib-2.0.2
@@ -0,0 +1 @@
+MD5 c14210968339e92f2c6b16e59c3f9454 cglib-src-2.0.2.jar 445834
diff --git a/dev-java/cglib/metadata.xml b/dev-java/cglib/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/cglib/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>