# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit java-pkg At="jta-1_0_1B-classes.zip" DESCRIPTION="The Java Transaction API (old and only really needed to build tomcat)" HOMEPAGE="http://java.sun.com/products/jta/" SRC_URI="" LICENSE="sun-csl" SLOT=0 KEYWORDS="~x86" IUSE="" RDEPEND=">=virtual/jdk-1.4" src_unpack() { 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 ${HOMEPAGE} and select 'Downloads'" einfo " 2. Select 'Java Transaction API Specification 1.0.1B Class Files 1.0.1B'" 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} insinto /usr/share/${At}/lib }