diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2010-05-29 08:36:19 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2010-05-29 08:36:19 +0000 |
commit | 0311c300acd87770a2e3834adabb419c5d53533c (patch) | |
tree | f9ad38580220b430814f6bcc20f4682d00eaa5da /dev-java/jtds | |
parent | Version Bump (diff) | |
download | gentoo-2-0311c300acd87770a2e3834adabb419c5d53533c.tar.gz gentoo-2-0311c300acd87770a2e3834adabb419c5d53533c.tar.bz2 gentoo-2-0311c300acd87770a2e3834adabb419c5d53533c.zip |
Version bump. Doesn't need junit to build any more. Fixes bug #321795.
(Portage version: 2.2_rc67/cvs/Linux i686)
Diffstat (limited to 'dev-java/jtds')
-rw-r--r-- | dev-java/jtds/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/jtds/jtds-1.2.5.ebuild | 47 |
2 files changed, 53 insertions, 1 deletions
diff --git a/dev-java/jtds/ChangeLog b/dev-java/jtds/ChangeLog index acf15f4168de..f4e27e41a128 100644 --- a/dev-java/jtds/ChangeLog +++ b/dev-java/jtds/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/jtds # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jtds/ChangeLog,v 1.25 2010/04/05 23:04:41 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jtds/ChangeLog,v 1.26 2010/05/29 08:36:19 betelgeuse Exp $ + +*jtds-1.2.5 (29 May 2010) + + 29 May 2010; Petteri Räty <betelgeuse@gentoo.org> +jtds-1.2.5.ebuild: + Version bump. Doesn't need junit to build any more. Fixes bug #321795. 05 Apr 2010; Vlastimil Babka <caster@gentoo.org> -files/1.0.3-buildxml.patch, -jtds-1.2-r2.ebuild, diff --git a/dev-java/jtds/jtds-1.2.5.ebuild b/dev-java/jtds/jtds-1.2.5.ebuild new file mode 100644 index 000000000000..13e555012aff --- /dev/null +++ b/dev-java/jtds/jtds-1.2.5.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jtds/jtds-1.2.5.ebuild,v 1.1 2010/05/29 08:36:19 betelgeuse Exp $ + +EAPI=2 +JAVA_PKG_IUSE="doc source" + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="jTDS - SQL Server and Sybase JDBC driver" +SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip" +HOMEPAGE="http://jtds.sourceforge.net" +LICENSE="LGPL-2.1" +SLOT="1.2" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +COMMON_DEPEND=" + =dev-java/jcifs-1*" +DEPEND=">=virtual/jdk-1.6 + ${COMMON_DEPEND} + app-arch/unzip" +RDEPEND=">=virtual/jre-1.6 + ${COMMON_DEPEND}" + +S=${WORKDIR} +IUSE="" + +# Would need a running server +RESTRICT="test" + +java_prepare() { + epatch "${FILESDIR}/1.2.4-buildxml.patch" + + rm -vr ./src/test/net/sourceforge/jtds/test || die + + cd "${S}/lib" + rm -v *.jar || die + + java-pkg_jar-from jcifs-1.1 +} + +src_install() { + java-pkg_dojar build/*.jar + + dodoc CHANGELOG README* || die "Failed to install docs." + use doc && java-pkg_dojavadoc build/doc + use source && java-pkg_dosrc "${S}"/src/main/* +} |