-rw-r--r-- | dev-db/schemaspy/Manifest | 16 | ||||
-rw-r--r-- | dev-db/schemaspy/files/build.xml | 37 | ||||
-rw-r--r-- | dev-db/schemaspy/files/digest-schemaspy-3.1.1 | 3 | ||||
-rw-r--r-- | dev-db/schemaspy/files/schemaspy.launcherd | 10 | ||||
-rw-r--r-- | dev-db/schemaspy/schemaspy-3.1.1.ebuild | 53 |
5 files changed, 119 insertions, 0 deletions
diff --git a/dev-db/schemaspy/Manifest b/dev-db/schemaspy/Manifest new file mode 100644 index 0000000..96aa46a --- a/dev/null +++ b/dev-db/schemaspy/Manifest | |||
@@ -0,0 +1,16 @@ | |||
1 | AUX build.xml 1233 RMD160 77f3733216ca9a4efbd9446a968978eb809fb640 SHA1 eb0291b182d7d3f48936e2f84a80536e6967648c SHA256 3e353adf66a695173e77c3236bc2fa4134234919f364ae1ea4701bf38a271df7 | ||
2 | MD5 797960ce04628b8f399b02340038fefc files/build.xml 1233 | ||
3 | RMD160 77f3733216ca9a4efbd9446a968978eb809fb640 files/build.xml 1233 | ||
4 | SHA256 3e353adf66a695173e77c3236bc2fa4134234919f364ae1ea4701bf38a271df7 files/build.xml 1233 | ||
5 | AUX schemaspy.launcherd 216 RMD160 967e360342bf3bc6a70752b4157836ba9a9dbb12 SHA1 6a48ec7f3a2e4d8b661e6020245479bd6b38c619 SHA256 408bb7c302a0744f897eec91e1c5d9c9706b74bc97a5fc4afddf240b6854b104 | ||
6 | MD5 f62d9cd841ce9a1d21b62fdb6412f646 files/schemaspy.launcherd 216 | ||
7 | RMD160 967e360342bf3bc6a70752b4157836ba9a9dbb12 files/schemaspy.launcherd 216 | ||
8 | SHA256 408bb7c302a0744f897eec91e1c5d9c9706b74bc97a5fc4afddf240b6854b104 files/schemaspy.launcherd 216 | ||
9 | DIST schemaSpy_3.1.1.source.jar 92103 RMD160 c45252f687da89832b1a19e7bcb7be38c997688c SHA1 1d2fd1591fbe531a883a8d0464b56bcd2020a8e4 SHA256 fe67a047e56357b6c9e7bdd27d5ef680e159ca66e8f4032f7261d3d9de7e783b | ||
10 | EBUILD schemaspy-3.1.1.ebuild 1290 RMD160 e19aeafad2d7e57cf49d358c8e5b0910e11302fd SHA1 79838f4e85b6d8c1fc738218e6fb1f4c4ef7ce28 SHA256 320fe79a86063ae5aa2fd54187a943d738a3168dc9aa699e116cf197845ebc0a | ||
11 | MD5 5108abbc34f8a3a9cb7e8d93037179c4 schemaspy-3.1.1.ebuild 1290 | ||
12 | RMD160 e19aeafad2d7e57cf49d358c8e5b0910e11302fd schemaspy-3.1.1.ebuild 1290 | ||
13 | SHA256 320fe79a86063ae5aa2fd54187a943d738a3168dc9aa699e116cf197845ebc0a schemaspy-3.1.1.ebuild 1290 | ||
14 | MD5 334efa785fc5c3e16511b06295f4623b files/digest-schemaspy-3.1.1 256 | ||
15 | RMD160 77b91f8d95a0bacfe6c235dccb89026a5d4349c9 files/digest-schemaspy-3.1.1 256 | ||
16 | SHA256 22d266ea1af63952021014e7ccb07a8c253d9e1860cf8bdbd9825286d56dbb9e files/digest-schemaspy-3.1.1 256 | ||
diff --git a/dev-db/schemaspy/files/build.xml b/dev-db/schemaspy/files/build.xml new file mode 100644 index 0000000..a2dfce7 --- a/dev/null +++ b/dev-db/schemaspy/files/build.xml | |||
@@ -0,0 +1,37 @@ | |||
1 | <?xml version="1.0"?> | ||
2 | <project name="schemaSpy" default="jar"> | ||
3 | <property name="src" value="src" /> | ||
4 | <property name="build" value="build" /> | ||
5 | <property name="dist" value="dist"/> | ||
6 | <property name="jarfile" value="${ant.project.name}.jar"/> | ||
7 | <target name="init"> | ||
8 | <tstamp/> | ||
9 | <mkdir dir="${dist}"/> | ||
10 | <mkdir dir="${build}"/> | ||
11 | </target> | ||
12 | <target name="manifest" depends="init"> | ||
13 | <manifest file="${build}/MANIFEST.MF"> | ||
14 | <attribute name="Built-By" value="Gentoo Portage"/> | ||
15 | <attribute name="Main-Class" value="net.sourceforge.schemaspy.Main"/> | ||
16 | </manifest> | ||
17 | </target> | ||
18 | <target name="compile" depends="init"> | ||
19 | <javac srcdir="${src}" destdir="${build}"/> | ||
20 | <copy todir="${build}/images"> | ||
21 | <fileset dir="${src}/images"/> | ||
22 | </copy> | ||
23 | <copy todir="${build}"> | ||
24 | <fileset file="${src}/${ant.project.name}.css"/> | ||
25 | </copy> | ||
26 | <copy todir="${build}/net/sourceforge/schemaspy/dbTypes"> | ||
27 | <fileset dir="${src}/net/sourceforge/schemaspy/dbTypes"/> | ||
28 | </copy> | ||
29 | </target> | ||
30 | <target name="jar" depends="compile,manifest"> | ||
31 | <jar jarfile="${dist}/${jarfile}" basedir="${build}" manifest="${build}/MANIFEST.MF" excludes="MANIFEST.MF"/> | ||
32 | </target> | ||
33 | <target name="clean"> | ||
34 | <delete dir="${build}"/> | ||
35 | <delete dir="${dist}"/> | ||
36 | </target> | ||
37 | </project> | ||
diff --git a/dev-db/schemaspy/files/digest-schemaspy-3.1.1 b/dev-db/schemaspy/files/digest-schemaspy-3.1.1 new file mode 100644 index 0000000..f5e8898 --- a/dev/null +++ b/dev-db/schemaspy/files/digest-schemaspy-3.1.1 | |||
@@ -0,0 +1,3 @@ | |||
1 | MD5 4e814c3104362732ab81832fcbd6d816 schemaSpy_3.1.1.source.jar 92103 | ||
2 | RMD160 c45252f687da89832b1a19e7bcb7be38c997688c schemaSpy_3.1.1.source.jar 92103 | ||
3 | SHA256 fe67a047e56357b6c9e7bdd27d5ef680e159ca66e8f4032f7261d3d9de7e783b schemaSpy_3.1.1.source.jar 92103 | ||
diff --git a/dev-db/schemaspy/files/schemaspy.launcherd b/dev-db/schemaspy/files/schemaspy.launcherd new file mode 100644 index 0000000..88e85fe --- a/dev/null +++ b/dev-db/schemaspy/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/schemaspy-3.1.1.ebuild b/dev-db/schemaspy/schemaspy-3.1.1.ebuild new file mode 100644 index 0000000..6e18518 --- a/dev/null +++ b/dev-db/schemaspy/schemaspy-3.1.1.ebuild | |||
@@ -0,0 +1,53 @@ | |||
1 | # Copyright 1999-2006 Gentoo Foundation | ||
2 | # Distributed under the terms of the GNU General Public License v2 | ||
3 | # $Header: $ | ||
4 | |||
5 | inherit eutils java-pkg-2 java-ant-2 | ||
6 | |||
7 | DESCRIPTION="Graphical database schema metadata browser" | ||
8 | HOMEPAGE="http://schemaspy.sourceforge.net/" | ||
9 | SRC_URI="mirror://sourceforge/${PN}/schemaSpy_${PV}.source.jar" | ||
10 | LICENSE="LGPL" | ||
11 | SLOT="0" | ||
12 | KEYWORDS="~x86 ~amd64" | ||
13 | IUSE="postgres firebird oracle mysql" | ||
14 | |||
15 | DEPEND=" | ||
16 | >=virtual/jdk-1.4 | ||
17 | dev-java/ant-core | ||
18 | app-arch/unzip | ||
19 | " | ||
20 | RDEPEND=" | ||
21 | >=virtual/jre-1.4 | ||
22 | postgres? ( dev-java/jdbc3-postgresql ) | ||
23 | firebird? ( dev-java/jdbc3-firebird ) | ||
24 | oracle? ( dev-java/jdbc3-oracle ) | ||
25 | mysql? ( dev-java/jdbc-mysql ) | ||
26 | !dev-db/schemaspy-svn | ||
27 | " | ||
28 | |||
29 | src_unpack() { | ||
30 | mkdir "${S}" | ||
31 | cd "${S}" | ||
32 | unpack "${A}" | ||
33 | cp ${FILESDIR}/build.xml ./ | ||
34 | rm -rf META-INF/ | ||
35 | mkdir src | ||
36 | mv net *.css images src | ||
37 | use postgres && java-pkg_jar-from jdbc3-postgresql-1 | ||
38 | use firebird && java-pkg_jar-from jdbc3-firebird | ||
39 | # XXX: I don't know if it's the right name for oracle package | ||
40 | use oracle && java-pkg_jar-from jdbc3-oracle | ||
41 | use mysql && java-pkg_jar-from jdbc-mysql | ||
42 | } | ||
43 | |||
44 | src_compile() { | ||
45 | eant || die "Failed complie" | ||
46 | } | ||
47 | |||
48 | src_install() { | ||
49 | java-pkg_dojar dist/schemaSpy.jar | ||
50 | java-pkg_dolauncher ${PN} | ||
51 | insinto /etc/java-config-2/launcher.d/ | ||
52 | newins ${FILESDIR}/schemaspy.launcherd ${PN} | ||
53 | } | ||