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) (side-by-side diff) | |
tree | 8c49a79415fc4d2ab5d9795731fe68cecac7c36e /dev-db/schemaspy-svn | |
parent | 49ac2aacb3cdc88820aed7076abee01721a425f0 (diff) | |
download | misc-2af935423054a353957b3a49cb9760c654b8431e.zip misc-2af935423054a353957b3a49cb9760c654b8431e.tar.gz misc-2af935423054a353957b3a49cb9760c654b8431e.tar.bz2 |
dev-db/schemaspy-svn
-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 @@ +AUX schemaspy.launcherd 216 RMD160 967e360342bf3bc6a70752b4157836ba9a9dbb12 SHA1 6a48ec7f3a2e4d8b661e6020245479bd6b38c619 SHA256 408bb7c302a0744f897eec91e1c5d9c9706b74bc97a5fc4afddf240b6854b104 +MD5 f62d9cd841ce9a1d21b62fdb6412f646 files/schemaspy.launcherd 216 +RMD160 967e360342bf3bc6a70752b4157836ba9a9dbb12 files/schemaspy.launcherd 216 +SHA256 408bb7c302a0744f897eec91e1c5d9c9706b74bc97a5fc4afddf240b6854b104 files/schemaspy.launcherd 216 +EBUILD schemaspy-svn-304.ebuild 1313 RMD160 2d810c4cb7beba85252580e3fc20f985e849ca9d SHA1 540d9a823aec32a8ade9a60b023837bb403ea9b0 SHA256 e2f7a4d92b8a8c059bc83ed7e08d9198234ef8d3261c0f92fe83715e00b5107a +MD5 99d5c2edec50d3b25a67b7610867b1e1 schemaspy-svn-304.ebuild 1313 +RMD160 2d810c4cb7beba85252580e3fc20f985e849ca9d schemaspy-svn-304.ebuild 1313 +SHA256 e2f7a4d92b8a8c059bc83ed7e08d9198234ef8d3261c0f92fe83715e00b5107a schemaspy-svn-304.ebuild 1313 +MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-schemaspy-svn-304 0 +RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-schemaspy-svn-304 0 +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 @@ +tmp_cp=false +eval "tmp_$(gjl -p ${gjl_package} -a)" +for a in ${tmp_gjl_args} ; do + if [ ${tmp_cp} = "true" ] ; then + gjl_pkg_args="-cp ${a}"; + continue + elif [ "${a}" = "-classpath" ] ; then + tmp_cp=true + fi +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 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit subversion eutils java-pkg-2 java-ant-2 + +OPN="${PN%-svn}" + +ESVN_REPO_URI="https://svn.sourceforge.net/svnroot/${OPN}/trunk" +ESVN_PROJECT="schemaspy" +ESVN_OPTIONS="-r${PV}" + +DESCRIPTION="Graphical database schema metadata browser" +HOMEPAGE="http://schemaspy.sourceforge.net/" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="postgres firebird oracle mysql" + +DEPEND=" + >=virtual/jdk-1.5 + dev-java/ant-core + app-arch/unzip +" +RDEPEND=" + >=virtual/jre-1.5 + postgres? ( dev-java/jdbc3-postgresql ) + firebird? ( dev-java/jdbc3-firebird ) + oracle? ( dev-java/jdbc3-oracle ) + mysql? ( dev-java/jdbc-mysql ) + !dev-db/schemaspy +" + +src_unpack() { + subversion_src_unpack + use postgres && java-pkg_jar-from jdbc3-postgresql-1 + 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 compile" +} + +src_install() { + java-pkg_dojar dist/schemaSpy.jar + java-pkg_dolauncher ${OPN} + insinto /etc/java-config-2/launcher.d/ + newins ${FILESDIR}/${OPN}.launcherd ${PN} + dodoc dist/index.html dist/releaseNotes.html +} |