diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-04-25 17:24:06 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-04-25 17:24:06 +0000 |
commit | a3cdd332be90fb2b91d8dbb68be4298dedcc218b (patch) | |
tree | e00844b4cc0b0a90f58ded7a519d132f15a130a5 /dev-java/jdbc-mysql | |
parent | Stable on ia64 wrt bug #175465. (diff) | |
download | gentoo-2-a3cdd332be90fb2b91d8dbb68be4298dedcc218b.tar.gz gentoo-2-a3cdd332be90fb2b91d8dbb68be4298dedcc218b.tar.bz2 gentoo-2-a3cdd332be90fb2b91d8dbb68be4298dedcc218b.zip |
Junit is not needed because we are not building the testcases and general ebuild cleanup.
(Portage version: 2.1.2.4)
Diffstat (limited to 'dev-java/jdbc-mysql')
-rw-r--r-- | dev-java/jdbc-mysql/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/jdbc-mysql/jdbc-mysql-3.1.13-r4.ebuild | 21 |
2 files changed, 16 insertions, 12 deletions
diff --git a/dev-java/jdbc-mysql/ChangeLog b/dev-java/jdbc-mysql/ChangeLog index e35198ebdcab..765bb4470841 100644 --- a/dev-java/jdbc-mysql/ChangeLog +++ b/dev-java/jdbc-mysql/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/jdbc-mysql # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-mysql/ChangeLog,v 1.37 2007/02/18 17:46:12 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-mysql/ChangeLog,v 1.38 2007/04/25 17:24:06 betelgeuse Exp $ + + 25 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> + jdbc-mysql-3.1.13-r4.ebuild: + Junit is not needed because we are not building the testcases and general + ebuild cleanup. 18 Feb 2007; Petteri Räty <betelgeuse@gentoo.org> -jdbc-mysql-3.1.12.ebuild, -jdbc-mysql-3.1.13-r1.ebuild, diff --git a/dev-java/jdbc-mysql/jdbc-mysql-3.1.13-r4.ebuild b/dev-java/jdbc-mysql/jdbc-mysql-3.1.13-r4.ebuild index 1045a1c405f2..81745e061e89 100644 --- a/dev-java/jdbc-mysql/jdbc-mysql-3.1.13-r4.ebuild +++ b/dev-java/jdbc-mysql/jdbc-mysql-3.1.13-r4.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2007 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-r4.ebuild,v 1.2 2007/01/11 13:51:33 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-mysql/jdbc-mysql-3.1.13-r4.ebuild,v 1.3 2007/04/25 17:24:06 betelgeuse Exp $ + +JAVA_PKG_IUSE="source" inherit eutils java-pkg-2 java-ant-2 @@ -13,7 +15,7 @@ SRC_URI="mirror://mysql/Downloads/Connector-J/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ppc64 ~x86" -IUSE="c3p0 source" +IUSE="c3p0 test" COMMON_DEP=" dev-java/log4j c3p0? ( dev-java/c3p0 ) @@ -23,21 +25,17 @@ 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* + =virtual/jdk-1.4* + =virtual/jdk-1.3* ) - ${COMMON_DEP} - sys-apps/sed - dev-java/ant-core - dev-java/junit - source? ( app-arch/zip )" + ${COMMON_DEP}" S="${WORKDIR}/${MY_P}" src_unpack() { unpack ${A} - cd ${S} + cd "${S}" # gcj hangs, but works for others -> why regexp over pictures?! epatch ${FILESDIR}/do-not-filter-png.diff # com.sun.* classes are used during testing @@ -51,7 +49,6 @@ src_unpack() { rm -f *.jar java-pkg_jar-from jdbc2-stdext java-pkg_jar-from commons-logging - java-pkg_jar-from junit java-pkg_jar-from log4j use c3p0 && java-pkg_jar-from c3p0 } @@ -60,6 +57,8 @@ src_compile() { eant dist } +#TODO add src_test + src_install() { java-pkg_newjar build/${MY_P}/${MY_P}-bin.jar ${PN}.jar dodoc README CHANGES |