diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2007-01-06 22:22:21 +0000 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2007-01-06 22:22:21 +0000 |
commit | df1639cec92d470b2c0c5c1a79df04c1e8b47a29 (patch) | |
tree | b8d9186e6329346259c86f477c8c94c45c7b642f /dev-db/jxtray | |
parent | QA: Removed unused versions. (diff) | |
download | gentoo-2-df1639cec92d470b2c0c5c1a79df04c1e8b47a29.tar.gz gentoo-2-df1639cec92d470b2c0c5c1a79df04c1e8b47a29.tar.bz2 gentoo-2-df1639cec92d470b2c0c5c1a79df04c1e8b47a29.zip |
Changed dependency from dev-java/jdbc3-postgresql to dev-java/jdbc-postgresql.
(Portage version: 2.1.2_rc4-r6)
Diffstat (limited to 'dev-db/jxtray')
-rw-r--r-- | dev-db/jxtray/ChangeLog | 8 | ||||
-rw-r--r-- | dev-db/jxtray/files/digest-jxtray-0.5-r2 | 3 | ||||
-rw-r--r-- | dev-db/jxtray/jxtray-0.5-r2.ebuild | 71 |
3 files changed, 81 insertions, 1 deletions
diff --git a/dev-db/jxtray/ChangeLog b/dev-db/jxtray/ChangeLog index a6c4effe258b..16f10bc6d5c8 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.11 2007/01/06 21:06:36 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/jxtray/ChangeLog,v 1.12 2007/01/06 22:22:21 fordfrog Exp $ + +*jxtray-0.5-r2 (06 Jan 2007) + + 06 Jan 2007; Miroslav Šulc <fordfrog@gentoo.org> +jxtray-0.5-r2.ebuild: + Changed dependency from jdbc3-postgresql to jdbc-postgresql and changed to + java-pkg_dolauncher. 06 Jan 2007; Petteri Räty <betelgeuse@gentoo.org> jxtray-0.5-r1.ebuild: Added back ~ppc keyword that was dropped with the last revision bump. diff --git a/dev-db/jxtray/files/digest-jxtray-0.5-r2 b/dev-db/jxtray/files/digest-jxtray-0.5-r2 new file mode 100644 index 000000000000..928e2b1f52a2 --- /dev/null +++ b/dev-db/jxtray/files/digest-jxtray-0.5-r2 @@ -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-r2.ebuild b/dev-db/jxtray/jxtray-0.5-r2.ebuild new file mode 100644 index 000000000000..3dbe2da0e7b3 --- /dev/null +++ b/dev-db/jxtray/jxtray-0.5-r2.ebuild @@ -0,0 +1,71 @@ +# 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-r2.ebuild,v 1.1 2007/01/06 22:22:21 fordfrog Exp $ + +inherit java-pkg-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 ~ppc ~x86" +IUSE="doc firebird mssql mysql postgres" + +RDEPEND="|| ( =virtual/jre-1.4* =virtual/jre-1.5* ) + >=dev-java/jdom-1.0_beta9 + >=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-0.9* ) + mysql? ( dev-java/jdbc-mysql ) + postgres? ( dev-java/jdbc-postgresql ) + !firebird? ( !mssql? ( !postgres? ( dev-java/jdbc-mysql ) ) )" +DEPEND="|| ( =virtual/jdk-1.4* =virtual/jdk-1.5* ) + ${RDEPEND} + dev-java/ant-core" + +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_beta9)" + 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-0.9)" + 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 javadocs) +} + +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 +} |