# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jaf-bin/sun-jaf-bin-1.0.2.2.ebuild,v 1.3 2005/07/10 13:30:49 axxo Exp $ inherit java-pkg MY_PV=${PV//./_} DESCRIPTION="Sun's Java Intelligent Network Infrastructure (Jini) Technology Starter Kit" SRC_URI="http://starterkit.jini.org/downloads/${PV}/InstData/Zip/jini${MY_PV}.zip" HOMEPAGE="http://www.jini.org/" KEYWORDS="~x86" LICENSE="Apache-2.0" SLOT="0" DEPEND="app-arch/unzip" RDEPEND=">=virtual/jre-1.4" S=${WORKDIR}/${A/.zip} src_unpack() { unpack ${A} einfo ${S} find ${S} } src_compile() { :; } src_install() { MY_TARGETDIR=/opt/${P} dodir ${MY_TARGETDIR} cp -pPR * ${D}/${MY_TARGETDIR} } pkg_postinst() { einfo "To use Jini you have to add /opt/${P}/lib/jini-core.jar" einfo "and /opt/${P}/lib/jini-ext.jar to your class path." einfo einfo "Jini's documentation is accessible via /opt/${P}/index.html" }