# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-java/pircbot/pircbot-bin-1.4.4.ebuild,v 1.0 2005/05/16 14:41:16 tilos Exp $ inherit java-pkg eutils DESCRIPTION="PircBot: Java IRC API" HOMEPAGE="http://www.jibble.org/pircbot.php" SRC_URI="http://www.jibble.org/files/pircbot-1.4.4.zip" LICENSE="GPL Commerical" SLOT="0" KEYWORDS="x86 ppc sparc amd64" IUSE="doc" DEPEND="source? ( app-arch/zip )" RDEPEND=">=virtual/jre-1.1" S="${WORKDIR}/pircbot-1.4.4" src_unpack() { unpack ${A} cd ${S} chmod u+w ${S} mkdir -p ${S}/target/lib && cd ${S}/target/lib } src_compile() { einfo "Binary only installation. No compilation required." } src_install() { java-pkg_dojar pircbot.jar if use doc; then java-pkg_dohtml PROPOSAL.html STATUS.html usersguide.html java-pkg_dohtml -r ${S} fi }