blob: d7ab9b9e3da9b26e8b1682c01ff88cc321ae0540 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/hibernate/hibernate-2.1.4.ebuild,v 1.1 2004/06/14 16:37:36 st_lim Exp $
inherit java-pkg
DESCRIPTION="Hibernate is a powerful, ultra-high performance object / relational persistence and query service for Java."
SRC_URI="mirror://sourceforge/hibernate/${PN}-${PV}.tar.gz"
HOMEPAGE="http://hibernate.bluemars.net"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc"
DEPEND=">=virtual/jdk-1.3
>=dev-java/ant-1.5
>=dev-java/log4j-1.2.7
dev-java/dom4j
dev-java/commons-dbcp
dev-java/commons-pool
dev-java/commons-logging"
IUSE="doc"
S=${WORKDIR}/${PN}-${PV/.4}
src_compile() {
ant jar
}
src_install() {
java-pkg_dojar ${WORKDIR}/hibernate/hibernate2.jar lib/cglib*.jar lib/jcs*.jar lib/odmg*.jar lib/c3p0*.jar
java-pkg_dojar lib/ehcache*.jar lib/swarmcache*.jar lib/oscache*.jar lib/proxool*.jar
java-pkg_dojar lib/concurrent*.jar lib/connector*.jar
dodoc *.txt lib/c3p0*.txt
insinto /usr/share/doc/${P}/sample
doins src/*.xml src/*.properties src/*.ccf src/META-INF/ra.xml
use doc && dohtml -r doc/*
}
|