blob: c69c0759d70f01fac057756c488cf2c16f41718c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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_rc1.ebuild,v 1.1 2005/03/17 18:41:20 axxo 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.keanu.be/1709_RC1.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"
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 cf ../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
}
|