diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2006-07-01 15:31:11 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2006-07-01 15:31:11 +0000 |
commit | 7049fdbecb54c31cd9b50e07a299073954abcccb (patch) | |
tree | 2ade172c1f6f9cb5f179e0c5108ffa8d6ed41053 /dev-java/jdbc3-postgresql | |
parent | Regen manifest. (diff) | |
download | gentoo-2-7049fdbecb54c31cd9b50e07a299073954abcccb.tar.gz gentoo-2-7049fdbecb54c31cd9b50e07a299073954abcccb.tar.bz2 gentoo-2-7049fdbecb54c31cd9b50e07a299073954abcccb.zip |
Supports new Java system. Filters jikes compiler (bug #132799)
(Portage version: 2.1.1_pre1)
Diffstat (limited to 'dev-java/jdbc3-postgresql')
4 files changed, 60 insertions, 2 deletions
diff --git a/dev-java/jdbc3-postgresql/ChangeLog b/dev-java/jdbc3-postgresql/ChangeLog index afae11d4e439..d2f999a617fa 100644 --- a/dev-java/jdbc3-postgresql/ChangeLog +++ b/dev-java/jdbc3-postgresql/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-java/jdbc3-postgresql -# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc3-postgresql/ChangeLog,v 1.10 2005/12/20 05:22:00 nichoj Exp $ +# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc3-postgresql/ChangeLog,v 1.11 2006/07/01 15:31:11 nichoj Exp $ + + 01 Jul 2006; Joshua Nichols <nichoj@gentoo.org> + +jdbc3-postgresql-8.1_p404-r1.ebuild: + Supports new Java system. Filters jikes compiler (bug #132799) *jdbc3-postgresql-8.1_p404 (20 Dec 2005) diff --git a/dev-java/jdbc3-postgresql/files/digest-jdbc3-postgresql-8.1_p404 b/dev-java/jdbc3-postgresql/files/digest-jdbc3-postgresql-8.1_p404 index 21399b59e66e..be9129e1ba70 100644 --- a/dev-java/jdbc3-postgresql/files/digest-jdbc3-postgresql-8.1_p404 +++ b/dev-java/jdbc3-postgresql/files/digest-jdbc3-postgresql-8.1_p404 @@ -1 +1,3 @@ MD5 8e400d091086adf4b40419e6e7be2740 postgresql-jdbc-8.1-404.src.tar.gz 474266 +RMD160 2258d2ab1d743afbfeacb60e0d53b7d58de519a7 postgresql-jdbc-8.1-404.src.tar.gz 474266 +SHA256 db11ec57331ab005162b01cfb9caf16b7cfa78c9d1540ae8a11afb72293246f8 postgresql-jdbc-8.1-404.src.tar.gz 474266 diff --git a/dev-java/jdbc3-postgresql/files/digest-jdbc3-postgresql-8.1_p404-r1 b/dev-java/jdbc3-postgresql/files/digest-jdbc3-postgresql-8.1_p404-r1 new file mode 100644 index 000000000000..be9129e1ba70 --- /dev/null +++ b/dev-java/jdbc3-postgresql/files/digest-jdbc3-postgresql-8.1_p404-r1 @@ -0,0 +1,3 @@ +MD5 8e400d091086adf4b40419e6e7be2740 postgresql-jdbc-8.1-404.src.tar.gz 474266 +RMD160 2258d2ab1d743afbfeacb60e0d53b7d58de519a7 postgresql-jdbc-8.1-404.src.tar.gz 474266 +SHA256 db11ec57331ab005162b01cfb9caf16b7cfa78c9d1540ae8a11afb72293246f8 postgresql-jdbc-8.1-404.src.tar.gz 474266 diff --git a/dev-java/jdbc3-postgresql/jdbc3-postgresql-8.1_p404-r1.ebuild b/dev-java/jdbc3-postgresql/jdbc3-postgresql-8.1_p404-r1.ebuild new file mode 100644 index 000000000000..4dd5c45dee53 --- /dev/null +++ b/dev-java/jdbc3-postgresql/jdbc3-postgresql-8.1_p404-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc3-postgresql/jdbc3-postgresql-8.1_p404-r1.ebuild,v 1.1 2006/07/01 15:31:11 nichoj Exp $ + +inherit java-ant-2 java-pkg-2 + +MY_PN="postgresql-jdbc" +MY_PV="${PV/_p/-}" +MY_P="${MY_PN}-${MY_PV}.src" + +DESCRIPTION="JDBC Driver for PostgreSQL" +SRC_URI="http://jdbc.postgresql.org/download/${MY_P}.tar.gz" +HOMEPAGE="http://jdbc.postgresql.org/" + +LICENSE="POSTGRESQL" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~amd64" +IUSE="doc examples source" + +DEPEND=">=virtual/jdk-1.4 + >=dev-java/ant-core-1.6 + source? ( app-arch/zip )" +RDEPEND=">=virtual/jre-1.4" + +# Apparently this has 1.5 specific features, which will need to handled +# somehow with use flags, and may need to patch build.xml to make sure the +# right -source / -target are used +JAVA_PKG_NV_DEPEND="=virtual/jdk-1.4*" + +S="${WORKDIR}/${MY_P}" + +# There are 1.5 features, which jikes doesn't like +java-pkg_filter-compiler jikes + +src_compile() { + eant jar $(use_doc publicapi) +} + +src_install() { + java-pkg_newjar jars/postgresql.jar ${PN}.jar + + use doc && java-pkg_dohtml -r ${S}/build/publicapi/* + if use examples; then + dodir /usr/share/doc/${PF}/examples + cp -r ${S}/example/* ${D}/usr/share/doc/${PF}/examples + java-pkg_dojar jars/postgresql-examples.jar + fi + use source && java-pkg_dosrc ${S}/org +} |