-rw-r--r-- | dev-db/schemaspy-svn/Manifest | 11 | ||||
-rw-r--r-- | dev-db/schemaspy-svn/files/digest-schemaspy-svn-304 | 0 | ||||
-rw-r--r-- | dev-db/schemaspy-svn/files/schemaspy.launcherd | 10 | ||||
-rw-r--r-- | dev-db/schemaspy-svn/schemaspy-svn-304.ebuild | 53 |
4 files changed, 74 insertions, 0 deletions
diff --git a/dev-db/schemaspy-svn/Manifest b/dev-db/schemaspy-svn/Manifest new file mode 100644 index 0000000..a36cf5e --- a/dev/null +++ b/dev-db/schemaspy-svn/Manifest | |||
@@ -0,0 +1,11 @@ | |||
1 | AUX schemaspy.launcherd 216 RMD160 967e360342bf3bc6a70752b4157836ba9a9dbb12 SHA1 6a48ec7f3a2e4d8b661e6020245479bd6b38c619 SHA256 408bb7c302a0744f897eec91e1c5d9c9706b74bc97a5fc4afddf240b6854b104 | ||
2 | MD5 f62d9cd841ce9a1d21b62fdb6412f646 files/schemaspy.launcherd 216 | ||
3 | RMD160 967e360342bf3bc6a70752b4157836ba9a9dbb12 files/schemaspy.launcherd 216 | ||
4 | SHA256 408bb7c302a0744f897eec91e1c5d9c9706b74bc97a5fc4afddf240b6854b104 files/schemaspy.launcherd 216 | ||
5 | EBUILD schemaspy-svn-304.ebuild 1313 RMD160 2d810c4cb7beba85252580e3fc20f985e849ca9d SHA1 540d9a823aec32a8ade9a60b023837bb403ea9b0 SHA256 e2f7a4d92b8a8c059bc83ed7e08d9198234ef8d3261c0f92fe83715e00b5107a | ||
6 | MD5 99d5c2edec50d3b25a67b7610867b1e1 schemaspy-svn-304.ebuild 1313 | ||
7 | RMD160 2d810c4cb7beba85252580e3fc20f985e849ca9d schemaspy-svn-304.ebuild 1313 | ||
8 | SHA256 e2f7a4d92b8a8c059bc83ed7e08d9198234ef8d3261c0f92fe83715e00b5107a schemaspy-svn-304.ebuild 1313 | ||
9 | MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-schemaspy-svn-304 0 | ||
10 | RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-schemaspy-svn-304 0 | ||
11 | SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-schemaspy-svn-304 0 | ||
diff --git a/dev-db/schemaspy-svn/files/digest-schemaspy-svn-304 b/dev-db/schemaspy-svn/files/digest-schemaspy-svn-304 new file mode 100644 index 0000000..e69de29 --- a/dev/null +++ b/dev-db/schemaspy-svn/files/digest-schemaspy-svn-304 | |||
diff --git a/dev-db/schemaspy-svn/files/schemaspy.launcherd b/dev-db/schemaspy-svn/files/schemaspy.launcherd new file mode 100644 index 0000000..88e85fe --- a/dev/null +++ b/dev-db/schemaspy-svn/files/schemaspy.launcherd | |||
@@ -0,0 +1,10 @@ | |||
1 | tmp_cp=false | ||
2 | eval "tmp_$(gjl -p ${gjl_package} -a)" | ||
3 | for a in ${tmp_gjl_args} ; do | ||
4 | if [ ${tmp_cp} = "true" ] ; then | ||
5 | gjl_pkg_args="-cp ${a}"; | ||
6 | continue | ||
7 | elif [ "${a}" = "-classpath" ] ; then | ||
8 | tmp_cp=true | ||
9 | fi | ||
10 | done | ||
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 | } | ||