# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils java-pkg DESCRIPTION="MSN and Jabber client in Java" HOMEPAGE="http://www.mercury.to/" SRC_URI="http://www.mercury.to/releases/${PV}_ManualUpdate.zip" LICENSE="" SLOT="0" KEYWORDS="~x86" DEPEND="app-arch/unzip" RDEPEND=">=virtual/jre-1.4 dev-java/jmf-bin" # =dev-java/jdom-1.0_beta6" IUSE="" src_unpack() { mkdir ${P} cd ${S} unpack ${A} # rm lib/XML.jar } src_install() { insinto /opt/${PN}/resources doins -r resources/* java-pkg_dojar lib/* insinto /opt/${PN}/ exeinto /opt/${PN}/ doins libtray.so ${FILESDIR}/icon32.gif newexe ${FILESDIR}/mercury.sh mercury make_desktop_entry mercury "Mercury MSN client" /opt/${PN}/icon32.gif dodir /opt/bin dosym /opt/${PN}/mercury /opt/bin/mercury }