summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/hibernate/hibernate-3.5.3.ebuild')
-rw-r--r--dev-java/hibernate/hibernate-3.5.3.ebuild60
1 files changed, 60 insertions, 0 deletions
diff --git a/dev-java/hibernate/hibernate-3.5.3.ebuild b/dev-java/hibernate/hibernate-3.5.3.ebuild
new file mode 100644
index 0000000..9d26593
--- /dev/null
+++ b/dev-java/hibernate/hibernate-3.5.3.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+WANT_ANT_TASKS="ant-antlr ant-swing ant-junit"
+JAVA_PKG_IUSE="doc source"
+JAVA_PKG_WANT_BOOTCLASSPATH="1.5"
+
+inherit java-pkg-2 java-ant-2
+
+MY_PV="3.5.3"
+DESCRIPTION="A powerful, ultra-high performance object / relational persistence and query service for Java."
+SRC_URI="mirror://sourceforge/${PN}/hibernate-distribution-3.5.3-Final-dist.tar.gz"
+HOMEPAGE="http://www.hibernate.org"
+LICENSE="LGPL-2"
+IUSE=""
+SLOT="3.5"
+KEYWORDS="amd64 x86"
+
+OPTIONAL_DEPEND=" dev-java/c3p0:0
+ dev-java/cglib:2.2
+ dev-java/commons-logging:0
+ dev-java/ehcache:0
+ dev-java/oscache:0
+ dev-java/proxool:0
+ dev-java/swarmcache:1.0
+ java-virtuals/transaction-api
+ dev-java/sun-jacc-api:0
+ dev-java/ant-core:0
+ dev-java/asm:2.2"
+
+COMMON_DEPEND="
+ >=dev-java/antlr-2.7.7:0[java]
+ dev-java/commons-collections:0
+ >=dev-java/jta-1.1
+ dev-java/dom4j:1
+ >=dev-java/javassist-3.9"
+
+RDEPEND=">=virtual/jre-1.6
+ ${COMMON_DEPEND}"
+DEPEND=">=virtual/jdk-1.6
+ ${COMMON_DEPEND}"
+
+S="${WORKDIR}/${PN}-distribution-${MY_PV}-Final"
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_GENTOO_CLASSPATH="c3p0,commons-collections,commons-logging,cglib-2.2,transaction-api
+dom4j-1,ehcache,oscache,proxool,swarmcache-1.0,javassist,jta
+sun-jacc-api,antlr,ant-core,asm-2.2
+"
+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/*
+}
+