# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils 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" #Well this is really not used. In the future one should use the two #packages available, the one with and witought jvm IUSE="java" DEPEND="virtual/jdk-1.4.2 dev-java/jmf-bin >=dev-java/jdom-1.0_beta10" RDEPEND="virtual/jre-1.4.2" src_unpack() { mkdir ${P} cd ${S} unpack ${A} } src_install() { cd ${S} dodir /opt/${PN}/resources dodir /usr/bin insinto /opt/${PN}/resources #from jdom #rm resources/XML.jar cp -r resources/* ${D}/opt/${PN}/resources dojar lib/* insinto /opt/${PN}/ doins libtray.so ${FILESDIR}/mercury.sh fperms +x /opt/${PN}/mercury.sh dosym /opt/${PN}/mercury.sh /usr/bin/mercury }