summaryrefslogtreecommitdiff
blob: 9f7dc3820bc7db0730d6fbd329faedcf9b4710eb (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.0.ebuild,v 1.5 2004/10/22 10:55:26 absinthe 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 ~amd64"
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 && java-pkg_dohtml -r docs/*
}