diff options
author | Lim Swee Tat <st_lim@gentoo.org> | 2005-03-11 14:46:41 +0000 |
---|---|---|
committer | Lim Swee Tat <st_lim@gentoo.org> | 2005-03-11 14:46:41 +0000 |
commit | 34becae7a4e16449a98bece313f5f079e1f6686b (patch) | |
tree | 45b7841181b865f8ca072e152f02c3967963f9cb /dev-java/ehcache | |
parent | Added to ~ppc (diff) | |
download | gentoo-2-34becae7a4e16449a98bece313f5f079e1f6686b.tar.gz gentoo-2-34becae7a4e16449a98bece313f5f079e1f6686b.tar.bz2 gentoo-2-34becae7a4e16449a98bece313f5f079e1f6686b.zip |
Initial commit. Does not have a src tarball nor build.xml
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-java/ehcache')
-rw-r--r-- | dev-java/ehcache/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/ehcache/Manifest | 2 | ||||
-rw-r--r-- | dev-java/ehcache/ehcache-1.1.ebuild | 53 | ||||
-rw-r--r-- | dev-java/ehcache/files/digest-ehcache-1.1 | 1 | ||||
-rw-r--r-- | dev-java/ehcache/metadata.xml | 5 |
5 files changed, 70 insertions, 0 deletions
diff --git a/dev-java/ehcache/ChangeLog b/dev-java/ehcache/ChangeLog new file mode 100644 index 000000000000..75f9cb539c1a --- /dev/null +++ b/dev-java/ehcache/ChangeLog @@ -0,0 +1,9 @@ +# 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.1 2005/03/11 14:46:41 st_lim Exp $ + +*ehcache-1.1 (11 Mar 2005) + + 11 Mar 2005; Lim Swee Tat <st_lim@gentoo.org> +ehcache-1.1.ebuild: + Initial commit of ehcache. There is no src file nor a build.xml. + diff --git a/dev-java/ehcache/Manifest b/dev-java/ehcache/Manifest new file mode 100644 index 000000000000..9b5ebe3c3641 --- /dev/null +++ b/dev-java/ehcache/Manifest @@ -0,0 +1,2 @@ +MD5 a301060a792cb4ddd14f288e24ad182f ehcache-1.1.ebuild 1077 +MD5 f7f9246edefa62ae1978b9e0241a30a9 files/digest-ehcache-1.1 131 diff --git a/dev-java/ehcache/ehcache-1.1.ebuild b/dev-java/ehcache/ehcache-1.1.ebuild new file mode 100644 index 000000000000..cb45677e8bc2 --- /dev/null +++ b/dev-java/ehcache/ehcache-1.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/ehcache/ehcache-1.1.ebuild,v 1.1 2005/03/11 14:46:41 st_lim Exp $ + +inherit java-pkg + +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="~x86 ~amd64" +RDEPEND=" + >=virtual/jre-1.4 + dev-java/commons-collections + dev-java/concurrent-util + dev-java/commons-logging + " +DEPEND=">=virtual/jdk-1.4 + >=dev-java/ant-core-1.5 + junit? ( + dev-java/junit + ) + " +IUSE="doc junit jikes" + +src_unpack() { + unpack ${A} + cd ${S} + unzip ${P}-src.zip + rm *.jar + rm -rf src/net/sf/ehcache/hibernate +} + +src_compile() { + mkdir ${S}/classes + cd ${S}/src + + find . -name "*.java"| xargs javac -d ${S}/classes \ + -classpath `java-config -p commons-logging,commons-collections` + cd ${S}/classes + jar cf ${S}/${P}.jar * +} + +src_install() { + cd ${S} + java-pkg_dojar ${S}/${P}.jar + dodoc *.txt ehcache.xml ehcache.xsd + if use doc ; then + unzip ${P}-javadoc.zip + dohtml -r docs + fi +} diff --git a/dev-java/ehcache/files/digest-ehcache-1.1 b/dev-java/ehcache/files/digest-ehcache-1.1 new file mode 100644 index 000000000000..1bde1d261203 --- /dev/null +++ b/dev-java/ehcache/files/digest-ehcache-1.1 @@ -0,0 +1 @@ +MD5 1cc46d376838b9d4a99b1a83ebabb88c ehcache-1.1.tgz 228733 diff --git a/dev-java/ehcache/metadata.xml b/dev-java/ehcache/metadata.xml new file mode 100644 index 000000000000..838c00a4a448 --- /dev/null +++ b/dev-java/ehcache/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> |