summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--dev-db/schemaspy-svn/Manifest11
-rw-r--r--dev-db/schemaspy-svn/files/digest-schemaspy-svn-3040
-rw-r--r--dev-db/schemaspy-svn/files/schemaspy.launcherd10
-rw-r--r--dev-db/schemaspy-svn/schemaspy-svn-304.ebuild53
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 @@
1AUX schemaspy.launcherd 216 RMD160 967e360342bf3bc6a70752b4157836ba9a9dbb12 SHA1 6a48ec7f3a2e4d8b661e6020245479bd6b38c619 SHA256 408bb7c302a0744f897eec91e1c5d9c9706b74bc97a5fc4afddf240b6854b104
2MD5 f62d9cd841ce9a1d21b62fdb6412f646 files/schemaspy.launcherd 216
3RMD160 967e360342bf3bc6a70752b4157836ba9a9dbb12 files/schemaspy.launcherd 216
4SHA256 408bb7c302a0744f897eec91e1c5d9c9706b74bc97a5fc4afddf240b6854b104 files/schemaspy.launcherd 216
5EBUILD schemaspy-svn-304.ebuild 1313 RMD160 2d810c4cb7beba85252580e3fc20f985e849ca9d SHA1 540d9a823aec32a8ade9a60b023837bb403ea9b0 SHA256 e2f7a4d92b8a8c059bc83ed7e08d9198234ef8d3261c0f92fe83715e00b5107a
6MD5 99d5c2edec50d3b25a67b7610867b1e1 schemaspy-svn-304.ebuild 1313
7RMD160 2d810c4cb7beba85252580e3fc20f985e849ca9d schemaspy-svn-304.ebuild 1313
8SHA256 e2f7a4d92b8a8c059bc83ed7e08d9198234ef8d3261c0f92fe83715e00b5107a schemaspy-svn-304.ebuild 1313
9MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-schemaspy-svn-304 0
10RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-schemaspy-svn-304 0
11SHA256 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 @@
1tmp_cp=false
2eval "tmp_$(gjl -p ${gjl_package} -a)"
3for 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
10done
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
5inherit subversion eutils java-pkg-2 java-ant-2
6
7OPN="${PN%-svn}"
8
9ESVN_REPO_URI="https://svn.sourceforge.net/svnroot/${OPN}/trunk"
10ESVN_PROJECT="schemaspy"
11ESVN_OPTIONS="-r${PV}"
12
13DESCRIPTION="Graphical database schema metadata browser"
14HOMEPAGE="http://schemaspy.sourceforge.net/"
15LICENSE="LGPL-2.1"
16SLOT="0"
17KEYWORDS="~amd64 ~x86"
18IUSE="postgres firebird oracle mysql"
19
20DEPEND="
21 >=virtual/jdk-1.5
22 dev-java/ant-core
23 app-arch/unzip
24"
25RDEPEND="
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
34src_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
43src_compile() {
44 eant || die "Failed compile"
45}
46
47src_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}