/[gentoo-x86]/dev-java/jtds/jtds-1.2.5.ebuild
Gentoo

Contents of /dev-java/jtds/jtds-1.2.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Aug 7 11:59:16 2011 UTC (3 years, 2 months ago) by xarthisius
Branch: MAIN
Changes since 1.3: +3 -3 lines
Dropped ppc/ppc64 wrt #326091

(Portage version: 2.2.0_alpha46/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/jtds/jtds-1.2.5.ebuild,v 1.3 2010/07/19 06:43:44 fauli Exp $
4
5 EAPI=2
6 JAVA_PKG_IUSE="doc source"
7
8 inherit eutils java-pkg-2 java-ant-2
9
10 DESCRIPTION="jTDS - SQL Server and Sybase JDBC driver"
11 SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip"
12 HOMEPAGE="http://jtds.sourceforge.net"
13 LICENSE="LGPL-2.1"
14 SLOT="1.2"
15 KEYWORDS="amd64 x86"
16 COMMON_DEPEND="
17 =dev-java/jcifs-1*"
18 DEPEND=">=virtual/jdk-1.6
19 ${COMMON_DEPEND}
20 app-arch/unzip"
21 RDEPEND=">=virtual/jre-1.6
22 ${COMMON_DEPEND}"
23
24 S=${WORKDIR}
25 IUSE=""
26
27 # Would need a running server
28 RESTRICT="test"
29
30 java_prepare() {
31 epatch "${FILESDIR}/1.2.4-buildxml.patch"
32
33 rm -vr ./src/test/net/sourceforge/jtds/test || die
34
35 cd "${S}/lib"
36 rm -v *.jar || die
37
38 java-pkg_jar-from jcifs-1.1
39 }
40
41 src_install() {
42 java-pkg_dojar build/*.jar
43
44 dodoc CHANGELOG README* || die "Failed to install docs."
45 use doc && java-pkg_dojavadoc build/doc
46 use source && java-pkg_dosrc "${S}"/src/main/*
47 }

  ViewVC Help
Powered by ViewVC 1.1.20