# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ At="jdbc2_0-stdext.jar" inherit java-pkg S=${WORKDIR}/${PN} DESCRIPTION="A standard set of libs for Server-Side JDBC support" HOMEPAGE="http://java.sun.com/products/jdbc" SRC_URI="" LICENSE="sun-csl" SLOT="0" KEYWORDS="~x86" IUSE="" RDEPEND=">=virtual/jdk-1.4" src_unpack() { # Stolen Wholesale from the jmf ebuild if [ ! -f "${DISTDIR}/${At}" ] ; then echo " " echo "!!! Missing ${DISTDIR}/${At}" echo " " 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 ${At}" einfo " 4. Move file to ${DISTDIR}" einfo " 5. Run emerge on this package again to complete" einfo " " die "User must manually download distfile" fi } src_compile() { einfo " This is a binary-only ebuild." } src_install() { java-pkg_dojar ${DISTDIR}/${At} #${S}/lib/*.jar insinto /usr/share/${At}/lib # doins lib/jdbc2_opt_API }