summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-09-08 04:02:51 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-09-08 04:02:51 +0000
commit77e46b96281b4d234e00ba6d8c02dd6e9204dfb1 (patch)
treeafbe89d158778274bdf88a7a416deec2ef072f0d /dev-java
parentFix for java-strict. Was missing implicitly dependend on jar from ant-core. (diff)
downloadgentoo-2-77e46b96281b4d234e00ba6d8c02dd6e9204dfb1.tar.gz
gentoo-2-77e46b96281b4d234e00ba6d8c02dd6e9204dfb1.tar.bz2
gentoo-2-77e46b96281b4d234e00ba6d8c02dd6e9204dfb1.zip
Revision bump to support the new Java system. Removed junit flag since it wasn\'t actually doing anything.
(Portage version: 2.1.1_rc1-r2)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/ehcache/ChangeLog10
-rw-r--r--dev-java/ehcache/ehcache-1.1-r1.ebuild54
-rw-r--r--dev-java/ehcache/files/digest-ehcache-1.12
-rw-r--r--dev-java/ehcache/files/digest-ehcache-1.1-r13
4 files changed, 67 insertions, 2 deletions
diff --git a/dev-java/ehcache/ChangeLog b/dev-java/ehcache/ChangeLog
index af73b8615449..c67c9cd0cd77 100644
--- a/dev-java/ehcache/ChangeLog
+++ b/dev-java/ehcache/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/ehcache
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/ehcache/ChangeLog,v 1.2 2005/05/28 23:43:21 luckyduck Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ehcache/ChangeLog,v 1.3 2006/09/08 04:02:51 nichoj Exp $
+
+*ehcache-1.1-r1 (08 Sep 2006)
+
+ 08 Sep 2006; Joshua Nichols <nichoj@gentoo.org> +ehcache-1.1-r1.ebuild:
+ Revision bump to support the new Java system. Removed junit flag since it
+ wasn't actually doing anything.
28 May 2005; Jan Brinkmann <luckyduck@gentoo.org> ehcache-1.1.ebuild:
dont install a versioned jar any longer. fixes #93529.
diff --git a/dev-java/ehcache/ehcache-1.1-r1.ebuild b/dev-java/ehcache/ehcache-1.1-r1.ebuild
new file mode 100644
index 000000000000..6676af4f6f50
--- /dev/null
+++ b/dev-java/ehcache/ehcache-1.1-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ehcache/ehcache-1.1-r1.ebuild,v 1.1 2006/09/08 04:02:51 nichoj Exp $
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Ehcache is a pure Java, fully-featured, in-process cache."
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
+HOMEPAGE="http://ehcache.sourceforge.net"
+
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+COMMON_DEPEND="
+ dev-java/commons-collections
+ dev-java/concurrent-util
+ dev-java/commons-logging"
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEPEND}"
+DEPEND=">=virtual/jdk-1.4
+ ${COMMON_DEPEND}
+ >=dev-java/ant-core-1.5"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ unzip ${P}-src.zip || die
+ rm *.jar
+ rm -rf src/net/sf/ehcache/hibernate
+}
+
+src_compile() {
+ mkdir ${S}/classes
+ cd ${S}/src
+
+ ejavac -d ${S}/classes \
+ -classpath $(java-pkg_getjars commons-logging,commons-collections) \
+ $(find . -name "*.java")
+
+ cd ${S}/classes
+ jar cf ${S}/${P}.jar * || die
+}
+
+src_install() {
+ cd ${S}
+ java-pkg_newjar ${S}/${P}.jar ${PN}.jar
+ dodoc *.txt ehcache.xml ehcache.xsd
+ if use doc ; then
+ unzip ${P}-javadoc.zip || die
+ java-pkg_dohtml -r docs
+ fi
+}
diff --git a/dev-java/ehcache/files/digest-ehcache-1.1 b/dev-java/ehcache/files/digest-ehcache-1.1
index 1bde1d261203..6290f52c5762 100644
--- a/dev-java/ehcache/files/digest-ehcache-1.1
+++ b/dev-java/ehcache/files/digest-ehcache-1.1
@@ -1 +1,3 @@
MD5 1cc46d376838b9d4a99b1a83ebabb88c ehcache-1.1.tgz 228733
+RMD160 5710d408549d9526bde89cc44f1d2f6433aa1048 ehcache-1.1.tgz 228733
+SHA256 b1709cdb27a7dee9c3f6beb8967a2f64549d9cc32af7867f8fa43b0d5b4bf226 ehcache-1.1.tgz 228733
diff --git a/dev-java/ehcache/files/digest-ehcache-1.1-r1 b/dev-java/ehcache/files/digest-ehcache-1.1-r1
new file mode 100644
index 000000000000..6290f52c5762
--- /dev/null
+++ b/dev-java/ehcache/files/digest-ehcache-1.1-r1
@@ -0,0 +1,3 @@
+MD5 1cc46d376838b9d4a99b1a83ebabb88c ehcache-1.1.tgz 228733
+RMD160 5710d408549d9526bde89cc44f1d2f6433aa1048 ehcache-1.1.tgz 228733
+SHA256 b1709cdb27a7dee9c3f6beb8967a2f64549d9cc32af7867f8fa43b0d5b4bf226 ehcache-1.1.tgz 228733