# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-im/ymessenger/ymessenger-1.0.6.1.ebuild,v 1.4 2005/09/07 08:11:53 swegener Exp $ inherit rpm eutils IUSE="" MY_P=${PN}-${PV%.*}-${PV#*.*.*.*} S=${WORKDIR} DESCRIPTION="Yahoo's instant messenger client" HOMEPAGE="http://public.yahoo.com/~mmk/index.html" SRC_URI="http://public.yahoo.com/~mmk/rh9.${MY_P}.i386.rpm" RDEPEND="virtual/x11 media-libs/gdk-pixbuf dev-libs/openssl amd64? ( app-emulation/emul-linux-x86-xlibs >=app-emulation/emul-linux-x86-gtklibs-2.2 )" SLOT="0" LICENSE="yahoo" KEYWORDS="-* ~amd64 ~x86" src_install () { cd ${S}/opt/ymessenger/bin exeinto /opt/ymessenger/bin doexe ymessenger.bin ymessenger insinto /usr/share/icons/hicolor/48x48/apps newins yahoo_gnome.png yahoo.png sed -e 's:Icon=.*:Icon=yahoo:' -i ymessenger.desktop domenu ymessenger.desktop exeinto /opt/ymessenger/lib doexe ${S}/opt/ymessenger/lib/libgtkhtml.so.0 cat >${T}/ymessenger.gentoo <