Diffstat (limited to 'dev-db/schemaspy/schemaspy-3.1.1.ebuild') (more/less context) (show whitespace changes)
-rw-r--r-- | dev-db/schemaspy/schemaspy-3.1.1.ebuild | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/dev-db/schemaspy/schemaspy-3.1.1.ebuild b/dev-db/schemaspy/schemaspy-3.1.1.ebuild index 9945e00..131c84f 100644 --- a/dev-db/schemaspy/schemaspy-3.1.1.ebuild +++ b/dev-db/schemaspy/schemaspy-3.1.1.ebuild @@ -7,39 +7,41 @@ 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-2.1" SLOT="0" KEYWORDS="x86 amd64" IUSE="postgres firebird oracle mysql" -DEPEND=" +JDEPEND=" + postgres? ( dev-java/jdbc-postgresql ) + firebird? ( dev-java/jdbc3-firebird ) + oracle? ( dev-java/jdbc3-oracle ) + mysql? ( dev-java/jdbc-mysql ) +" +DEPEND="$JDEPEND >=virtual/jdk-1.4 dev-java/ant-core app-arch/unzip " -RDEPEND=" +RDEPEND="$JDEPEND >=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 postgres && java-pkg_jar-from jdbc-postgresql 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" |