diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2006-07-29 15:30:20 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2006-07-29 15:30:20 +0000 |
commit | 1811d643d6b3343e0178a9eff4b1c3de26ca3229 (patch) | |
tree | a5459879b01338b811fe4f9f637e8f0985bfbb02 /dev-java/jdbc-mysql | |
parent | Migrated to Generation 2. (diff) | |
download | gentoo-2-1811d643d6b3343e0178a9eff4b1c3de26ca3229.tar.gz gentoo-2-1811d643d6b3343e0178a9eff4b1c3de26ca3229.tar.bz2 gentoo-2-1811d643d6b3343e0178a9eff4b1c3de26ca3229.zip |
Added source useflag, for bug #141885
(Portage version: 2.1.1_pre3-r5)
Diffstat (limited to 'dev-java/jdbc-mysql')
-rw-r--r-- | dev-java/jdbc-mysql/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/jdbc-mysql/files/digest-jdbc-mysql-3.1.13-r2 | 3 | ||||
-rw-r--r-- | dev-java/jdbc-mysql/jdbc-mysql-3.1.13-r2.ebuild | 59 |
3 files changed, 69 insertions, 1 deletions
diff --git a/dev-java/jdbc-mysql/ChangeLog b/dev-java/jdbc-mysql/ChangeLog index afa479cfd171..79a8f06b5425 100644 --- a/dev-java/jdbc-mysql/ChangeLog +++ b/dev-java/jdbc-mysql/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/jdbc-mysql # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-mysql/ChangeLog,v 1.30 2006/07/22 21:16:12 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-mysql/ChangeLog,v 1.31 2006/07/29 15:30:20 nichoj Exp $ + +*jdbc-mysql-3.1.13-r2 (29 Jul 2006) + + 29 Jul 2006; Joshua Nichols <nichoj@gentoo.org> + +jdbc-mysql-3.1.13-r2.ebuild: + Added source useflag, for bug #141885 *jdbc-mysql-3.1.13-r1 (22 Jul 2006) diff --git a/dev-java/jdbc-mysql/files/digest-jdbc-mysql-3.1.13-r2 b/dev-java/jdbc-mysql/files/digest-jdbc-mysql-3.1.13-r2 new file mode 100644 index 000000000000..9e1b9a4ef5e5 --- /dev/null +++ b/dev-java/jdbc-mysql/files/digest-jdbc-mysql-3.1.13-r2 @@ -0,0 +1,3 @@ +MD5 b2fc8cc8990d85629b183f284a8f46d8 mysql-connector-java-3.1.13.tar.gz 10454933 +RMD160 2316969d32ce5944e4a6dc682fc29a2cf9129cf2 mysql-connector-java-3.1.13.tar.gz 10454933 +SHA256 afa911e3999d10777fd4fb8b19c7af1330c04c927bd6fda859cd7623eb05713f mysql-connector-java-3.1.13.tar.gz 10454933 diff --git a/dev-java/jdbc-mysql/jdbc-mysql-3.1.13-r2.ebuild b/dev-java/jdbc-mysql/jdbc-mysql-3.1.13-r2.ebuild new file mode 100644 index 000000000000..f92891216eee --- /dev/null +++ b/dev-java/jdbc-mysql/jdbc-mysql-3.1.13-r2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-mysql/jdbc-mysql-3.1.13-r2.ebuild,v 1.1 2006/07/29 15:30:20 nichoj Exp $ + +inherit eutils java-pkg-2 java-ant-2 + +MY_PN="mysql-connector-java" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="MySQL JDBC driver" +HOMEPAGE="http://www.mysql.com/products/connector/j/" +SRC_URI="mirror://mysql/Downloads/Connector-J/${MY_P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="c3p0 source" +COMMON_DEP=" + dev-java/log4j + c3p0? ( dev-java/c3p0 ) + dev-java/jdbc2-stdext" +RDEPEND=">=virtual/jre-1.2 + ${COMMON_DEP}" +# FIXME doesn't like Java 1.6's JDBC API +DEPEND="|| ( + =virtual/jdk-1.3* + =virtual/jdk-1.4* + =virtual/jdk-1.5* + ) + ${COMMON_DEP} + sys-apps/sed + dev-java/ant-core + dev-java/junit + source? ( app-arch/zip )" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd ${S} + rm -f *.jar + + sed -i 's,{buildDir}/MANIFEST.MF,{buildDir}/META-INF/MANIFEST.MF,' build.xml || die "sed failed" + + mkdir src/lib-nodist # needed, or ant will fail + cd src/lib + rm -f *.jar + java-pkg_jar-from jdbc2-stdext + use c3p0 && java-pkg_jar-from c3p0 +} + +src_compile() { + eant dist +} + +src_install() { + java-pkg_newjar build/${MY_P}/${MY_P}-bin.jar ${PN}.jar + dodoc README CHANGES + use source && java-pkg_dosrc src/com src/org +} |