# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-java/jython-bin/jython-bin-2.1-r3.ebuild,v 1.1 2004/07/30 11:53:15 karltk Exp $ DESCRIPTION="An implementation of Python written in Java" HOMEPAGE="http://www.jython.org" MY_PV="21" SRC_URI="mirror://sourceforge/jython/jython-${MY_PV}.class" LICENSE="JPython" SLOT="0" KEYWORDS="~x86 ~ppc ~sparc ~amd64" IUSE="" S=${WORKDIR}/jython-${PV} DEPEND=">=virtual/jdk-1.2" src_unpack() { addwrite .hotspot cd ${DISTDIR} java jython-${MY_PV} -o ${S}/ demo lib source } src_install() { dojar jython.jar dodoc {README,LICENSE}.txt NEWS ACKNOWLEDGMENTS dohtml -A .css .jpg .gif -r Doc newbin ${FILESDIR}/${PV}-jython jython newbin ${FILESDIR}/${PV}-jythonc jythonc dodir /usr/share/jython/cachedir chmod a+rw ${D}/usr/share/jython/cachedir cp -R Lib/* ${D}/usr/share/${PN}/lib/ mkdir ${D}/usr/share/${PN}/tools/ cp -R Tools/* ${D}/usr/share/${PN}/tools/ dosym /usr/share/jython-bin /usr/share/jython }