author | Michael Krelin <hacker@klever.net> | 2007-08-17 15:18:05 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-08-17 15:18:05 (UTC) |
commit | 152b49bcb713cdc65fe9cb9af3bf2bb13053af5d (patch) (unidiff) | |
tree | 389874119a1fd8be3228a09ccf65e92c16399688 /dev-db/schemaspy-svn/schemaspy-svn-304.ebuild | |
parent | af97bfd55f4a0231e2969a3a02810fd14857dfb9 (diff) | |
download | misc-152b49bcb713cdc65fe9cb9af3bf2bb13053af5d.zip misc-152b49bcb713cdc65fe9cb9af3bf2bb13053af5d.tar.gz misc-152b49bcb713cdc65fe9cb9af3bf2bb13053af5d.tar.bz2 |
dev-db/schemaspy-svn: adjusted jdbc deps
Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (limited to 'dev-db/schemaspy-svn/schemaspy-svn-304.ebuild') (more/less context) (ignore whitespace changes)
-rw-r--r-- | dev-db/schemaspy-svn/schemaspy-svn-304.ebuild | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/dev-db/schemaspy-svn/schemaspy-svn-304.ebuild b/dev-db/schemaspy-svn/schemaspy-svn-304.ebuild index 80ba3a9..b61d184 100644 --- a/dev-db/schemaspy-svn/schemaspy-svn-304.ebuild +++ b/dev-db/schemaspy-svn/schemaspy-svn-304.ebuild | |||
@@ -8,41 +8,43 @@ OPN="${PN%-svn}" | |||
8 | 8 | ||
9 | ESVN_REPO_URI="https://svn.sourceforge.net/svnroot/${OPN}/trunk" | 9 | ESVN_REPO_URI="https://svn.sourceforge.net/svnroot/${OPN}/trunk" |
10 | ESVN_PROJECT="schemaspy" | 10 | ESVN_PROJECT="schemaspy" |
11 | ESVN_OPTIONS="-r${PV}" | 11 | ESVN_OPTIONS="-r${PV}" |
12 | 12 | ||
13 | DESCRIPTION="Graphical database schema metadata browser" | 13 | DESCRIPTION="Graphical database schema metadata browser" |
14 | HOMEPAGE="http://schemaspy.sourceforge.net/" | 14 | HOMEPAGE="http://schemaspy.sourceforge.net/" |
15 | LICENSE="LGPL-2.1" | 15 | LICENSE="LGPL-2.1" |
16 | SLOT="0" | 16 | SLOT="0" |
17 | KEYWORDS="~amd64 ~x86" | 17 | KEYWORDS="~amd64 ~x86" |
18 | IUSE="postgres firebird oracle mysql" | 18 | IUSE="postgres firebird oracle mysql" |
19 | 19 | ||
20 | DEPEND=" | 20 | JDEPEND=" |
21 | postgres? ( dev-java/jdbc-postgresql ) | ||
22 | firebird? ( dev-java/jdbc3-firebird ) | ||
23 | oracle? ( dev-java/jdbc3-oracle ) | ||
24 | mysql? ( dev-java/jdbc-mysql ) | ||
25 | " | ||
26 | DEPEND="$JDEPEND | ||
21 | >=virtual/jdk-1.5 | 27 | >=virtual/jdk-1.5 |
22 | dev-java/ant-core | 28 | dev-java/ant-core |
23 | app-arch/unzip | 29 | app-arch/unzip |
24 | " | 30 | " |
25 | RDEPEND=" | 31 | RDEPEND="$JDEPEND |
26 | >=virtual/jre-1.5 | 32 | >=virtual/jre-1.5 |
27 | postgres? ( dev-java/jdbc3-postgresql ) | ||
28 | firebird? ( dev-java/jdbc3-firebird ) | ||
29 | oracle? ( dev-java/jdbc3-oracle ) | ||
30 | mysql? ( dev-java/jdbc-mysql ) | ||
31 | !dev-db/schemaspy | 33 | !dev-db/schemaspy |
32 | " | 34 | " |
33 | 35 | ||
34 | src_unpack() { | 36 | src_unpack() { |
35 | subversion_src_unpack | 37 | subversion_src_unpack |
36 | use postgres && java-pkg_jar-from jdbc3-postgresql-1 | 38 | use postgres && java-pkg_jar-from jdbc-postgresql |
37 | use firebird && java-pkg_jar-from jdbc3-firebird | 39 | use firebird && java-pkg_jar-from jdbc3-firebird |
38 | # XXX: I don't know if it's the right name for oracle package | 40 | # XXX: I don't know if it's the right name for oracle package |
39 | use oracle && java-pkg_jar-from jdbc3-oracle | 41 | use oracle && java-pkg_jar-from jdbc3-oracle |
40 | use mysql && java-pkg_jar-from jdbc-mysql | 42 | use mysql && java-pkg_jar-from jdbc-mysql |
41 | } | 43 | } |
42 | 44 | ||
43 | src_compile() { | 45 | src_compile() { |
44 | eant || die "Failed compile" | 46 | eant || die "Failed compile" |
45 | } | 47 | } |
46 | 48 | ||
47 | src_install() { | 49 | src_install() { |
48 | java-pkg_dojar dist/schemaSpy.jar | 50 | java-pkg_dojar dist/schemaSpy.jar |