diff options
-rw-r--r-- | dev-java/hibernate/Manifest | 2 | ||||
-rw-r--r-- | dev-java/hibernate/hibernate-3.5.3.ebuild | 60 |
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-java/hibernate/Manifest b/dev-java/hibernate/Manifest new file mode 100644 index 0000000..23b41b7 --- /dev/null +++ b/dev-java/hibernate/Manifest @@ -0,0 +1,2 @@ +DIST hibernate-distribution-3.5.3-Final-dist.tar.gz 53271948 RMD160 d5d9345aa9d5052531f6daf9791d95a4fb6b5a22 SHA1 7b4417fea0a604200d27a219a7998c696868f16d SHA256 08fbd03b5450efd417914d6dbe2bd1a6cc0eebebdee1808886b7e94e36753324 +EBUILD hibernate-3.5.3.ebuild 1581 RMD160 6dffa8cb896ed6667351c3de1c02e15e27102fc8 SHA1 b171bf436a31d008d708c87442891d85a452d37a SHA256 96e2f9a814a1d8446250179b23e1c2736b05359ff12daae519451689e8f04f19 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/* +} + |