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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Oct 30 19:24:54 2012 UTC (22 months, 2 weeks ago) by sera
Branch: MAIN
CVS Tags: HEAD
Revbump to restrict to java 6. #440010
Version bump for java 7.

(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0xDA575EB7)

1 # Copyright 1999-2012 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.4 2011/08/07 11:59:16 xarthisius Exp $
4
5 EAPI=5
6
7 JAVA_PKG_IUSE="doc source"
8
9 inherit eutils java-pkg-2 java-ant-2
10
11 DESCRIPTION="jTDS - SQL Server and Sybase JDBC driver"
12 SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip"
13 HOMEPAGE="http://jtds.sourceforge.net"
14
15 LICENSE="LGPL-2.1"
16 SLOT="1.3"
17 KEYWORDS="~amd64 ~x86"
18 IUSE=""
19
20 # Would need a running server
21 RESTRICT="test"
22
23 COMMON_DEPEND="
24 dev-java/jcifs:1.1"
25 RDEPEND="${COMMON_DEPEND}
26 virtual/jre:1.7"
27 DEPEND="${COMMON_DEPEND}
28 virtual/jdk:1.7
29 app-arch/unzip"
30
31 S=${WORKDIR}
32
33 java_prepare() {
34 find -name '*.jar' -exec rm -v {} + || die
35
36 epatch "${FILESDIR}"/${P}-build.xml.patch
37
38 mkdir -p build/doc || die
39 }
40
41 JAVA_ANT_REWRITE_CLASSPATH="yes"
42 JAVA_ANT_CLASSPATH_TAGS+=" javadoc"
43
44 EANT_GENTOO_CLASSPATH="jcifs-1.1"
45
46 src_install() {
47 java-pkg_newjar build/${P}.jar
48
49 dodoc CHANGELOG README*
50 use doc && java-pkg_dojavadoc build/doc
51 use source && java-pkg_dosrc "${S}"/src/main/*
52 }

  ViewVC Help
Powered by ViewVC 1.1.20