author | Michael Krelin <hacker@klever.net> | 2007-02-21 12:43:13 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-02-21 12:43:13 (UTC) |
commit | 2af935423054a353957b3a49cb9760c654b8431e (patch) (unidiff) | |
tree | 8c49a79415fc4d2ab5d9795731fe68cecac7c36e /dev-db/schemaspy-svn/schemaspy-svn-304.ebuild | |
parent | 49ac2aacb3cdc88820aed7076abee01721a425f0 (diff) | |
download | misc-2af935423054a353957b3a49cb9760c654b8431e.zip misc-2af935423054a353957b3a49cb9760c654b8431e.tar.gz misc-2af935423054a353957b3a49cb9760c654b8431e.tar.bz2 |
dev-db/schemaspy-svn
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 | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/dev-db/schemaspy-svn/schemaspy-svn-304.ebuild b/dev-db/schemaspy-svn/schemaspy-svn-304.ebuild new file mode 100644 index 0000000..80ba3a9 --- a/dev/null +++ b/dev-db/schemaspy-svn/schemaspy-svn-304.ebuild | |||
@@ -0,0 +1,53 @@ | |||
1 | # Copyright 1999-2007 Gentoo Foundation | ||
2 | # Distributed under the terms of the GNU General Public License v2 | ||
3 | # $Header: $ | ||
4 | |||
5 | inherit subversion eutils java-pkg-2 java-ant-2 | ||
6 | |||
7 | OPN="${PN%-svn}" | ||
8 | |||
9 | ESVN_REPO_URI="https://svn.sourceforge.net/svnroot/${OPN}/trunk" | ||
10 | ESVN_PROJECT="schemaspy" | ||
11 | ESVN_OPTIONS="-r${PV}" | ||
12 | |||
13 | DESCRIPTION="Graphical database schema metadata browser" | ||
14 | HOMEPAGE="http://schemaspy.sourceforge.net/" | ||
15 | LICENSE="LGPL-2.1" | ||
16 | SLOT="0" | ||
17 | KEYWORDS="~amd64 ~x86" | ||
18 | IUSE="postgres firebird oracle mysql" | ||
19 | |||
20 | DEPEND=" | ||
21 | >=virtual/jdk-1.5 | ||
22 | dev-java/ant-core | ||
23 | app-arch/unzip | ||
24 | " | ||
25 | RDEPEND=" | ||
26 | >=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 | ||
32 | " | ||
33 | |||
34 | src_unpack() { | ||
35 | subversion_src_unpack | ||
36 | use postgres && java-pkg_jar-from jdbc3-postgresql-1 | ||
37 | use firebird && java-pkg_jar-from jdbc3-firebird | ||
38 | # XXX: I don't know if it's the right name for oracle package | ||
39 | use oracle && java-pkg_jar-from jdbc3-oracle | ||
40 | use mysql && java-pkg_jar-from jdbc-mysql | ||
41 | } | ||
42 | |||
43 | src_compile() { | ||
44 | eant || die "Failed compile" | ||
45 | } | ||
46 | |||
47 | src_install() { | ||
48 | java-pkg_dojar dist/schemaSpy.jar | ||
49 | java-pkg_dolauncher ${OPN} | ||
50 | insinto /etc/java-config-2/launcher.d/ | ||
51 | newins ${FILESDIR}/${OPN}.launcherd ${PN} | ||
52 | dodoc dist/index.html dist/releaseNotes.html | ||
53 | } | ||