summaryrefslogtreecommitdiff
path: root/dev-db/schemaspy/schemaspy-3.1.1.ebuild
authorMichael Krelin <hacker@klever.net>2007-02-21 12:40:02 (UTC)
committer Michael Krelin <hacker@klever.net>2007-02-21 12:40:02 (UTC)
commit49ac2aacb3cdc88820aed7076abee01721a425f0 (patch) (side-by-side diff)
tree57dc7f4784194f9acb49cfdcf24298c82cdf0383 /dev-db/schemaspy/schemaspy-3.1.1.ebuild
parent14092b047ffefb821aef37aaaeebd5b359ed1a8b (diff)
downloadmisc-49ac2aacb3cdc88820aed7076abee01721a425f0.zip
misc-49ac2aacb3cdc88820aed7076abee01721a425f0.tar.gz
misc-49ac2aacb3cdc88820aed7076abee01721a425f0.tar.bz2
dev-db/schemaspy: pleased repoman a bit
Diffstat (limited to 'dev-db/schemaspy/schemaspy-3.1.1.ebuild') (more/less context) (ignore whitespace changes)
-rw-r--r--dev-db/schemaspy/schemaspy-3.1.1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-db/schemaspy/schemaspy-3.1.1.ebuild b/dev-db/schemaspy/schemaspy-3.1.1.ebuild
index 6e18518..04f95e8 100644
--- a/dev-db/schemaspy/schemaspy-3.1.1.ebuild
+++ b/dev-db/schemaspy/schemaspy-3.1.1.ebuild
@@ -1,53 +1,53 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils java-pkg-2 java-ant-2
DESCRIPTION="Graphical database schema metadata browser"
HOMEPAGE="http://schemaspy.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/schemaSpy_${PV}.source.jar"
-LICENSE="LGPL"
+LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="postgres firebird oracle mysql"
DEPEND="
>=virtual/jdk-1.4
dev-java/ant-core
app-arch/unzip
"
RDEPEND="
>=virtual/jre-1.4
postgres? ( dev-java/jdbc3-postgresql )
firebird? ( dev-java/jdbc3-firebird )
oracle? ( dev-java/jdbc3-oracle )
mysql? ( dev-java/jdbc-mysql )
!dev-db/schemaspy-svn
"
src_unpack() {
mkdir "${S}"
cd "${S}"
unpack "${A}"
cp ${FILESDIR}/build.xml ./
rm -rf META-INF/
mkdir src
mv net *.css images src
use postgres && java-pkg_jar-from jdbc3-postgresql-1
use firebird && java-pkg_jar-from jdbc3-firebird
# XXX: I don't know if it's the right name for oracle package
use oracle && java-pkg_jar-from jdbc3-oracle
use mysql && java-pkg_jar-from jdbc-mysql
}
src_compile() {
eant || die "Failed complie"
}
src_install() {
java-pkg_dojar dist/schemaSpy.jar
java-pkg_dolauncher ${PN}
insinto /etc/java-config-2/launcher.d/
newins ${FILESDIR}/schemaspy.launcherd ${PN}
}