# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-java/javatoolkit/javatoolkit-0.1.9.ebuild,v 1.5 2006/07/23 00:31:47 flameeyes Exp $ inherit eutils python DESCRIPTION="Collection of Gentoo-specific tools for Java" HOMEPAGE="http://dev.gentoo.org/proj/en/java/" SRC_URI="mirror://gentoo/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" IUSE="" DEPEND=">=virtual/jdk-1.4" RDEPEND=">=virtual/jre-1.4" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}/${P}-make.patch" } src_install() { make DESTDIR=${D} install || die } pkg_postinst() { python_mod_optimize /usr/share/javatoolkit } pkg_postrm() { python_mod_cleanup /usr/share/javatoolkit }