summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/hibernate/hibernate-3.1.3.ebuild')
-rw-r--r--dev-java/hibernate/hibernate-3.1.3.ebuild85
1 files changed, 0 insertions, 85 deletions
diff --git a/dev-java/hibernate/hibernate-3.1.3.ebuild b/dev-java/hibernate/hibernate-3.1.3.ebuild
deleted file mode 100644
index 74ae2dcda381..000000000000
--- a/dev-java/hibernate/hibernate-3.1.3.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/hibernate/hibernate-3.1.3.ebuild,v 1.5 2007/04/25 20:10:38 nelchael Exp $
-
-WANT_ANT_TASKS="ant-antlr ant-swing ant-junit"
-JAVA_PKG_IUSE="doc source"
-
-inherit java-pkg-2 java-ant-2
-
-MY_PV="3.1"
-DESCRIPTION="Hibernate is a powerful, ultra-high performance object / relational persistence and query service for Java."
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-HOMEPAGE="http://www.hibernate.org"
-LICENSE="LGPL-2"
-IUSE=""
-SLOT="3.1"
-KEYWORDS="~x86 ~amd64"
-
-COMMON_DEPEND="
- dev-java/antlr
- =dev-java/asm-2.0*
- dev-java/c3p0
- =dev-java/cglib-2.1*
- dev-java/commons-collections
- dev-java/commons-logging
- =dev-java/dom4j-1*
- =dev-java/ehcache-1.1*
- =dev-java/jaxen-1.1*
- dev-java/log4j
- dev-java/oscache
- dev-java/proxool
- =dev-java/swarmcache-1*
- dev-java/jta
- dev-java/sun-jacc-api
- dev-java/jgroups
- >=dev-java/xerces-2.7
- dev-java/ant-core"
-RDEPEND=">=virtual/jre-1.4
- ${COMMON_DEPEND}"
-# FIXME doesn't like Java 1.6's JDBC API
-DEPEND="|| (
- =virtual/jdk-1.4*
- =virtual/jdk-1.5*
- )
- ${COMMON_DEPEND}"
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- # this depends on jboss
- rm src/org/hibernate/cache/JndiBoundTreeCacheProvider.java \
- src/org/hibernate/cache/TreeCache.java \
- src/org/hibernate/cache/TreeCacheProvider.java
-
- rm -v *.jar
- cd lib
- rm -v *.jar
-
- local JAR_PACKAGES="asm-2 c3p0 commons-collections
- commons-logging dom4j-1 ehcache jaxen-1.1
- log4j oscache proxool swarmcache-1.0 xerces-2 jgroups"
- for PACKAGE in ${JAR_PACKAGES}; do
- java-pkg_jar-from ${PACKAGE}
- done
- java-pkg_jar-from cglib-2.1 cglib.jar
-
- java-pkg_jar-from jta
- java-pkg_jar-from sun-jacc-api
-
- java-pkg_jar-from antlr
- java-pkg_jar-from ant-core ant.jar
-
-}
-
-EANT_EXTRA_ARGS="-Dnosplash -Ddist.dir=dist"
-
-src_install() {
- java-pkg_dojar hibernate3.jar
- dodoc changelog.txt readme.txt
- use doc && java-pkg_dohtml -r dist/doc/api doc/other doc/reference
- use source && java-pkg_dosrc src/*
-}