diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-22 21:51:56 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-22 21:51:56 +0000 |
commit | b9a08d47dbe83767fc414b63083ca46593790c34 (patch) | |
tree | 84d47dcda226347598b2325c70777bb8e4dbd19b /dev-java/jdbc-mysql | |
parent | Added ~ppc, bug #105223 (diff) | |
download | historical-b9a08d47dbe83767fc414b63083ca46593790c34.tar.gz historical-b9a08d47dbe83767fc414b63083ca46593790c34.tar.bz2 historical-b9a08d47dbe83767fc414b63083ca46593790c34.zip |
ant_src_unpack -> src_unpack
Package-Manager: portage-2.1.1_pre3-r3
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-r1 | 3 | ||||
-rw-r--r-- | dev-java/jdbc-mysql/jdbc-mysql-3.1.13-r1.ebuild | 57 |
3 files changed, 67 insertions, 1 deletions
diff --git a/dev-java/jdbc-mysql/ChangeLog b/dev-java/jdbc-mysql/ChangeLog index 2bd38deea5cd..afa479cfd171 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.29 2006/07/18 01:28:00 nichoj Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-mysql/ChangeLog,v 1.30 2006/07/22 21:16:12 nelchael Exp $ + +*jdbc-mysql-3.1.13-r1 (22 Jul 2006) + + 22 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org> + -jdbc-mysql-3.1.13.ebuild, +jdbc-mysql-3.1.13-r1.ebuild: + ant_src_unpack -> src_unpack *jdbc-mysql-3.1.13 (18 Jul 2006) diff --git a/dev-java/jdbc-mysql/files/digest-jdbc-mysql-3.1.13-r1 b/dev-java/jdbc-mysql/files/digest-jdbc-mysql-3.1.13-r1 new file mode 100644 index 000000000000..9e1b9a4ef5e5 --- /dev/null +++ b/dev-java/jdbc-mysql/files/digest-jdbc-mysql-3.1.13-r1 @@ -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-r1.ebuild b/dev-java/jdbc-mysql/jdbc-mysql-3.1.13-r1.ebuild new file mode 100644 index 000000000000..9d848c5db5fa --- /dev/null +++ b/dev-java/jdbc-mysql/jdbc-mysql-3.1.13-r1.ebuild @@ -0,0 +1,57 @@ +# 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-r1.ebuild,v 1.1 2006/07/22 21:16:12 nelchael 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" +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" + +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 +} |