summaryrefslogtreecommitdiff
blob: 209c9cb746c744a9fe7fca977189ae4847a1e117 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc2-stdext/jdbc2-stdext-2.0.ebuild,v 1.1 2004/02/25 06:42:18 zx Exp $

inherit java-pkg

DESCRIPTION="A standard set of libs for Server-Side JDBC support"
HOMEPAGE="http://java.sun.com/products/jdbc"
SRC_URI="jdbc2_0-stdext.jar"
LICENSE="sun-csl"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
RESTRICT="fetch"

RDEPEND=">=virtual/jdk-1.4"

pkg_nofetch() {
	einfo
	einfo " Due to license restrictions, we cannot fetch the"
	einfo " distributables automagically."
	einfo " "
	einfo " 1. Visit http://java.sun.com/products/jdbc/download.html#spec'"
	einfo " 2. Select 'JDBC(TM) 2.0 Optional Package Binary'"
	einfo " 3. Download ${SRC_URI}"
	einfo " 4. Move file to ${DISTDIR}"
	einfo " 5. Run emerge on this package again to complete"
	einfo
}

src_unpack() { :; }

src_compile() { :; }

src_install() {
	java-pkg_dojar ${DISTDIR}/${A}
}