diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2003-09-20 02:28:47 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2003-09-20 02:28:47 +0000 |
commit | a2df34be591dd0152aa16fcc6f1bce46c5438b32 (patch) | |
tree | 48d43eaf3f1a67cadf7b98a26c9f23553450020d /net-im/ymessenger/ymessenger-1.0.4.1.ebuild | |
parent | version bump (diff) | |
download | gentoo-2-a2df34be591dd0152aa16fcc6f1bce46c5438b32.tar.gz gentoo-2-a2df34be591dd0152aa16fcc6f1bce46c5438b32.tar.bz2 gentoo-2-a2df34be591dd0152aa16fcc6f1bce46c5438b32.zip |
version bump
Diffstat (limited to 'net-im/ymessenger/ymessenger-1.0.4.1.ebuild')
-rw-r--r-- | net-im/ymessenger/ymessenger-1.0.4.1.ebuild | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/net-im/ymessenger/ymessenger-1.0.4.1.ebuild b/net-im/ymessenger/ymessenger-1.0.4.1.ebuild new file mode 100644 index 000000000000..83b8e7a55bfa --- /dev/null +++ b/net-im/ymessenger/ymessenger-1.0.4.1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/ymessenger/ymessenger-1.0.4.1.ebuild,v 1.1 2003/09/20 02:28:46 seemant Exp $ + +inherit kde rpm + +IUSE="kde gnome" + +MY_P=${PN}-${PV%.*}-${PV#*.*.*.*} +S=${WORKDIR} +DESCRIPTION="Yahoo's instant messenger client" +HOMEPAGE="http://messenger.yahoo.com/messenger/download/unix.html" +SRC_URI="http://download.yahoo.com/dl/unix/rh9.${MY_P}.i386.rpm" + +DEPEND="media-libs/gdk-pixbuf + dev-libs/openssl" + +RDEPEND="virtual/x11" + +SLOT="0" +LICENSE="yahoo" +KEYWORDS="~x86 -ppc -sparc -alpha -mips -hppa" + +pkg_setup() { + if [ ${ARCH} != "x86" ] ; then + einfo "This is an x86 only package, sorry" + die "Not supported on your ARCH" + fi +} + +src_compile() { + einfo "Nothing to compile -- this is a binary package" +} + +src_install () { + cd ${S}/opt/ymessenger/bin + + exeinto /opt/ymessenger/bin + doexe ymessenger.bin ymessenger + + insinto /opt/ymessenger/bin + doins yahoo_kde.xpm yahoo_gnome.png + + insinto /opt/ymessenger/bin + doins ymessenger.desktop + + if use gnome + then + insinto /usr/share/gnome/apps/Internet + doins ymessenger.desktop + fi + + if use kde + then + insinto ${KDEDIR}/share/applnk/Internet + doins ymessenger.kdelnk + fi + + into /opt/ymessenger + dolib ${S}/opt/ymessenger/lib/libgtkhtml.so.6 + + echo "#!/bin/sh" > ymessenger.gentoo + echo "LD_LIBRARY_PATH=/opt/ymessenger/lib:$LD_LIBRARY_PATH" >> ymessenger.gentoo + echo "export LD_LIBRARY_PATH" >> ymessenger.gentoo + echo "exec /opt/ymessenger/bin/ymessenger.bin $@" >> ymessenger.gentoo + exeinto /usr/bin + newexe ymessenger.gentoo ymessenger + +} + +pkg_postinst() { + einfo "" + einfo "If you are upgrading from an older version of ymessenger," + einfo "please unmerge the previous version." + einfo "-=AND=-" + einfo "mv ~/.ymessenger/preferences ~/.ymessenger/preferences.old" + einfo "" +} |