diff options
author | William Thomson <wltjr@gentoo.org> | 2006-12-10 22:26:52 +0000 |
---|---|---|
committer | William Thomson <wltjr@gentoo.org> | 2006-12-10 22:26:52 +0000 |
commit | bc2afffe739b06f570c105efb1a0550a9942a2ea (patch) | |
tree | 0d78158255a3b2e58b5376565d15766a1bd1db12 /dev-db | |
parent | Added missing dependency on libxfcegui4, see bug #153577. (diff) | |
download | gentoo-2-bc2afffe739b06f570c105efb1a0550a9942a2ea.tar.gz gentoo-2-bc2afffe739b06f570c105efb1a0550a9942a2ea.tar.bz2 gentoo-2-bc2afffe739b06f570c105efb1a0550a9942a2ea.zip |
Initial package migration to gen 2. Might still need some cleanups and etc. Possibly a stale package but still works. Upstream has not had a release since 12/05.
(Portage version: 2.1.2_rc3-r1)
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/jxtray/ChangeLog | 10 | ||||
-rw-r--r-- | dev-db/jxtray/files/digest-jxtray-0.5 | 2 | ||||
-rw-r--r-- | dev-db/jxtray/files/digest-jxtray-0.5-r1 | 3 | ||||
-rw-r--r-- | dev-db/jxtray/jxtray-0.5-r1.ebuild | 80 | ||||
-rw-r--r-- | dev-db/jxtray/metadata.xml | 17 |
5 files changed, 103 insertions, 9 deletions
diff --git a/dev-db/jxtray/ChangeLog b/dev-db/jxtray/ChangeLog index 3e9058c94284..f1da156fe93c 100644 --- a/dev-db/jxtray/ChangeLog +++ b/dev-db/jxtray/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-db/jxtray # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/jxtray/ChangeLog,v 1.9 2006/11/30 15:16:08 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/jxtray/ChangeLog,v 1.10 2006/12/10 22:26:52 wltjr Exp $ + +*jxtray-0.5-r1 (10 Dec 2006) + + 10 Dec 2006; William L. Thomson Jr. <wltjr@gentoo.org> metadata.xml, + +jxtray-0.5-r1.ebuild: + Initial package migration to gen 2. Might still need some cleanups and etc. + Possibly a stale package but still works. Upstream has not had a release + since 12/05. 30 Nov 2006; Vlastimil Babka <caster@gentoo.org> jxtray-0.5.ebuild: Update xerces dep for upcoming 2.6 slotmove. diff --git a/dev-db/jxtray/files/digest-jxtray-0.5 b/dev-db/jxtray/files/digest-jxtray-0.5 index eb8824c7c83b..928e2b1f52a2 100644 --- a/dev-db/jxtray/files/digest-jxtray-0.5 +++ b/dev-db/jxtray/files/digest-jxtray-0.5 @@ -1 +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/files/digest-jxtray-0.5-r1 b/dev-db/jxtray/files/digest-jxtray-0.5-r1 new file mode 100644 index 000000000000..928e2b1f52a2 --- /dev/null +++ b/dev-db/jxtray/files/digest-jxtray-0.5-r1 @@ -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-r1.ebuild b/dev-db/jxtray/jxtray-0.5-r1.ebuild new file mode 100644 index 000000000000..5a395b3365e1 --- /dev/null +++ b/dev-db/jxtray/jxtray-0.5-r1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/jxtray/jxtray-0.5-r1.ebuild,v 1.1 2006/12/10 22:26:52 wltjr 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="~x86 ~amd64" +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/jdbc3-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 jdbc3-postgresql)" + + echo "classpath=${cp}" > ${S}/build.properties +} + +src_compile() { + eant jar $(use_doc javadocs) +} + +src_install() { + local cp="java-config -p jxtray,jdom-1.0_beta9,xerces-2,xml-commons,sax,poi,kunststoff-2.0" + + use firebird && cp="${cp},jdbc-jaybird" + use mssql && cp="${cp},jtds-0.9" + use mysql && cp="${cp},jdbc-mysql" + use postgres && cp="${cp},jdbc3-postgresql" + + java-pkg_newjar ${S}/dist/${P}.jar ${PN}.jar + + echo "#!/bin/sh" > ${PN} + echo "java -cp \$(${cp}) jxtray.Jxtray" >> ${PN} + dobin ${PN} + + dodoc CHANGELOG.txt README.txt + use doc && java-pkg_dohtml -r ${S}/javadoc/* +} diff --git a/dev-db/jxtray/metadata.xml b/dev-db/jxtray/metadata.xml index f2eb970ad837..68c7e00befb3 100644 --- a/dev-db/jxtray/metadata.xml +++ b/dev-db/jxtray/metadata.xml @@ -2,15 +2,16 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>java</herd> -<longdescription> + <herd>java</herd> -Jxtray is a database explorer written in Java. Jxtray can be used to connect to -any type of database with suitable JDBC drivers. It can provide you with -information regarding your data bases, carry out SQL queries and extract data in -the following formats: CSV, SQL, HTML, XML. The name jxtray comes from the -French word j'extrait, which means the function of retrieval of data. + <longdescription> + Jxtray is a database explorer written in Java. Jxtray can be used to + connect to any type of database with suitable JDBC drivers. It can + provide you with information regarding your data bases, carry out SQL + queries and extract data in the following formats: CSV, SQL, HTML, + XML. The name jxtray comes from the French word j'extrait, which means + the function of retrieval of data. + </longdescription> -</longdescription> </pkgmetadata> |