summaryrefslogtreecommitdiff
blob: 6061bcf25e6c6c1491e01343640fc1d895d07915 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/dbunit-bin/dbunit-bin-2.1.ebuild,v 1.1 2004/09/07 06:41:12 axxo Exp $

inherit java-pkg

DESCRIPTION="DBUnit is a JUnit extension targeted for database-driven projects that, puts your database into a known state between test runs."
MY_P=${P/-bin}
MY_PN=${PN/-bin}
SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.zip"
HOMEPAGE="http://www.dbunit.org"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc"
DEPEND="app-arch/unzip"
RDEPEND=">=virtual/jdk-1.3"
IUSE="doc"

S=${WORKDIR}/${MY_P}

src_compile() {	:; }

src_install() {
	mv ${S}/${MY_P}.jar ${S}/${MY_PN}.jar
	java-pkg_dojar ${MY_PN}.jar
	use doc && dohtml -r docs/*
}