diff options
Diffstat (limited to 'net-im/mercury-bin/mercury-bin-1709_beta7-r1.ebuild')
-rw-r--r-- | net-im/mercury-bin/mercury-bin-1709_beta7-r1.ebuild | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/net-im/mercury-bin/mercury-bin-1709_beta7-r1.ebuild b/net-im/mercury-bin/mercury-bin-1709_beta7-r1.ebuild new file mode 100644 index 000000000000..cb2baddafa06 --- /dev/null +++ b/net-im/mercury-bin/mercury-bin-1709_beta7-r1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/mercury-bin/mercury-bin-1709_beta7-r1.ebuild,v 1.1 2005/03/08 22:23:36 humpback Exp $ + +inherit eutils java-pkg + +MY_PV="1709_B7" +DESCRIPTION="MSN and Jabber client in Java" + +HOMEPAGE="http://www.mercury.to/" +##Mercury.to dos not provided http or ftp links so i did a mirror +SRC_URI="http://www.gentoo-pt.org/~humpback/${MY_PV}.zip" +LICENSE="mercury" +SLOT="0" +KEYWORDS="~x86" +DEPEND="app-arch/unzip + >=virtual/jdk-1.4" + +RDEPEND=">=virtual/jre-1.4 + =dev-java/jgoodies-looks-1.3* + dev-java/jmf-bin + dev-java/jdictrayapi + dev-java/xpp3 + =dev-java/jdom-1.0_beta6*" +IUSE="" + +S=${WORKDIR} +src_unpack() { + unpack ${A} + cd ${S} + rm -f *.dll *.so + + #Clean the dllStuff.jar from things we dont need + cd lib + mkdir dllStuff + cd dllStuff + unzip ../dllStuff.jar + rm -rf ../dllStuff.jar org/jdesktop x10gimli/platform + + cd ${S} + rm lib/XML.jar # jdom + rm lib/looks-*.jar #jgoodies-looks + rm lib/JFlash.jar # seems to be trial from http://www.javaapis.com/jflashplayer/ which says its windows only + rm lib/xmlpull.jar # xpp3 +} + +src_install() { + #rebuild the dllStuff.jar + cd ${S}/lib/dllStuff + jar cvf ../dllStuff.jar * + cd ${S} + rm -rf lib/dllStuff + + #Start installing stuff + insinto /opt/${PN}/resources + doins -r resources/* + java-pkg_dojar lib/* + + insinto /usr/share/pixmaps + newins ${FILESDIR}/icon32.gif mercury.gif + + exeinto /opt/bin + newexe ${FILESDIR}/mercury.sh mercury + + make_desktop_entry mercury "Mercury MSN client" /usr/share/pixmaps/mercury.gif +} |