summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-04-25 17:33:26 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-04-25 17:33:26 +0000
commit635a72514ae3a1645f49c467798eaf3549aa843d (patch)
tree31cafd526b37fd3371a5afa444b222b99536c65d /dev-db/jxtray
parentStable on ia64 wrt bug #175465 (diff)
downloadgentoo-2-635a72514ae3a1645f49c467798eaf3549aa843d.tar.gz
gentoo-2-635a72514ae3a1645f49c467798eaf3549aa843d.tar.bz2
gentoo-2-635a72514ae3a1645f49c467798eaf3549aa843d.zip
Use a newer version of jtds. It wouldn't have needed a new slot but what's done is done.
(Portage version: 2.1.2.4)
Diffstat (limited to 'dev-db/jxtray')
-rw-r--r--dev-db/jxtray/ChangeLog8
-rw-r--r--dev-db/jxtray/files/digest-jxtray-0.5-r43
-rw-r--r--dev-db/jxtray/jxtray-0.5-r4.ebuild72
3 files changed, 82 insertions, 1 deletions
diff --git a/dev-db/jxtray/ChangeLog b/dev-db/jxtray/ChangeLog
index d9a6f49bf5fd..dbe9a8f217d1 100644
--- a/dev-db/jxtray/ChangeLog
+++ b/dev-db/jxtray/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-db/jxtray
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/jxtray/ChangeLog,v 1.23 2007/04/12 22:32:24 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/jxtray/ChangeLog,v 1.24 2007/04/25 17:33:26 betelgeuse Exp $
+
+*jxtray-0.5-r4 (25 Apr 2007)
+
+ 25 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> +jxtray-0.5-r4.ebuild:
+ Use a newer version of jtds. It wouldn't have needed a new slot but what's
+ done is done.
12 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> -jxtray-0.5-r1.ebuild:
Remove old version so that we can package.mask dev-java/jdbc3-postgresql.
diff --git a/dev-db/jxtray/files/digest-jxtray-0.5-r4 b/dev-db/jxtray/files/digest-jxtray-0.5-r4
new file mode 100644
index 000000000000..928e2b1f52a2
--- /dev/null
+++ b/dev-db/jxtray/files/digest-jxtray-0.5-r4
@@ -0,0 +1,3 @@
+MD5 2d8f90c6c597e2a50b2217c4ec4abb03 jxtray-src-0.5.tgz 2476739
+RMD160 f35e7def1558cfcee48bfb42e1706e3ba8866e45 jxtray-src-0.5.tgz 2476739
+SHA256 ddb5d2b2399d1440d84b144fce4ef4f7ff865081745057e101deff3a38f0a849 jxtray-src-0.5.tgz 2476739
diff --git a/dev-db/jxtray/jxtray-0.5-r4.ebuild b/dev-db/jxtray/jxtray-0.5-r4.ebuild
new file mode 100644
index 000000000000..ed00c48adc39
--- /dev/null
+++ b/dev-db/jxtray/jxtray-0.5-r4.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/jxtray/jxtray-0.5-r4.ebuild,v 1.1 2007/04/25 17:33:26 betelgeuse Exp $
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Java based Database Explorer"
+HOMEPAGE="http://jxtray.sourceforge.net"
+SRC_URI="mirror://sourceforge/jxtray/${PN}-src-${PV}.tgz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc firebird mssql mysql postgres"
+
+COMMON_DEP="
+ >=dev-java/jdom-1.0
+ >=dev-java/kunststoff-2.0.2
+ dev-java/poi
+ dev-java/sax
+ >=dev-java/xerces-2.7
+ dev-java/xml-commons
+ firebird? ( dev-java/jdbc-jaybird )
+ mssql? ( >=dev-java/jtds-1.2 )
+ mysql? ( dev-java/jdbc-mysql )
+ postgres? ( dev-java/jdbc-postgresql )
+ !firebird? ( !mssql? ( !postgres? ( dev-java/jdbc-mysql ) ) )"
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+DEPEND="|| ( =virtual/jdk-1.5* =virtual/jdk-1.4* )
+ ${COMMON_DEP}"
+
+S="${WORKDIR}/${PN}-src-${PV}"
+
+src_unpack() {
+ unpack ${A}
+ cp ${FILESDIR}/build.xml ${FILESDIR}/default.properties ${S}
+ local cp=""
+
+ cd ${S}/lib
+ rm *.jar
+ cp="${cp}:$(java-pkg_getjars jdom-1.0)"
+ cp="${cp}:$(java-pkg_getjars xerces-2)"
+ cp="${cp}:$(java-pkg_getjars xml-commons)"
+ cp="${cp}:$(java-pkg_getjars sax)"
+ cp="${cp}:$(java-pkg_getjars poi)"
+
+ cd ${S}/lib/lookandfeel
+ rm *.jar
+ cp="${cp}:$(java-pkg_getjars kunststoff-2.0)"
+
+ cd ${S}/lib/drivers
+ rm *.jar
+ use firebird && cp="${cp}:$(java-pkg_getjars jdbc-jaybird)"
+ use mssql && cp="${cp}:$(java-pkg_getjars jtds-1.2)"
+ use mysql && cp="${cp}:$(java-pkg_getjars jdbc-mysql)"
+ use postgres && cp="${cp}:$(java-pkg_getjars jdbc-postgresql)"
+
+ echo "classpath=${cp}" > ${S}/build.properties
+}
+
+src_compile() {
+ eant jar $(use_doc javadoc)
+}
+
+src_install() {
+ java-pkg_newjar ${S}/dist/${P}.jar ${PN}.jar
+
+ java-pkg_dolauncher jxtray --main jxtray.Jxtray
+
+ dodoc CHANGELOG.txt README.txt
+ use doc && java-pkg_dojavadoc -r ${S}/javadoc
+}