diff options
author | Karol Wojtaszek <sekretarz@gentoo.org> | 2005-07-28 18:46:10 +0000 |
---|---|---|
committer | Karol Wojtaszek <sekretarz@gentoo.org> | 2005-07-28 18:46:10 +0000 |
commit | 45eb8493ed18941a5babe4b1d2785568c0a42d88 (patch) | |
tree | 9a685bb21e52f3d626bab79d39ff05276683aeb1 /net-im/ymessenger | |
parent | make sure it's make -j1 (diff) | |
download | gentoo-2-45eb8493ed18941a5babe4b1d2785568c0a42d88.tar.gz gentoo-2-45eb8493ed18941a5babe4b1d2785568c0a42d88.tar.bz2 gentoo-2-45eb8493ed18941a5babe4b1d2785568c0a42d88.zip |
Ebuild clean up, thanks Flameeyes in bug #81910
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-im/ymessenger')
-rw-r--r-- | net-im/ymessenger/ChangeLog | 6 | ||||
-rw-r--r-- | net-im/ymessenger/ymessenger-1.0.6.1.ebuild | 49 |
2 files changed, 22 insertions, 33 deletions
diff --git a/net-im/ymessenger/ChangeLog b/net-im/ymessenger/ChangeLog index d2852ce81830..a473e7a4e8ae 100644 --- a/net-im/ymessenger/ChangeLog +++ b/net-im/ymessenger/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-im/ymessenger # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/ymessenger/ChangeLog,v 1.19 2005/01/25 19:36:29 rizzo Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/ymessenger/ChangeLog,v 1.20 2005/07/28 18:46:10 sekretarz Exp $ + + 28 Jul 2005; <sekretarz@gentoo.org> ymessenger-1.0.6.1.ebuild: + Ebuild clean up, thanks Flameeyes in bug #81910 *ymessenger-1.0.6.1 (25 Jan 2005) @@ -100,3 +103,4 @@ ChangeLog files/digest-ymessenger-0.93 : New package -- rpm based binary package for yahoo messenger. + diff --git a/net-im/ymessenger/ymessenger-1.0.6.1.ebuild b/net-im/ymessenger/ymessenger-1.0.6.1.ebuild index c828138be227..bdc746931fdc 100644 --- a/net-im/ymessenger/ymessenger-1.0.6.1.ebuild +++ b/net-im/ymessenger/ymessenger-1.0.6.1.ebuild @@ -1,10 +1,10 @@ # 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.1 2005/01/25 19:36:29 rizzo Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/ymessenger/ymessenger-1.0.6.1.ebuild,v 1.2 2005/07/28 18:46:10 sekretarz Exp $ -inherit kde-functions rpm +inherit rpm eutils -IUSE="kde gnome" +IUSE="" MY_P=${PN}-${PV%.*}-${PV#*.*.*.*} S=${WORKDIR} @@ -12,12 +12,10 @@ 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" - -DEPEND="media-libs/gdk-pixbuf +RDEPEND="virtual/x11 + media-libs/gdk-pixbuf dev-libs/openssl" -RDEPEND="virtual/x11" - SLOT="0" LICENSE="yahoo" KEYWORDS="-* ~x86" @@ -28,37 +26,24 @@ src_install () { exeinto /opt/ymessenger/bin doexe ymessenger.bin ymessenger - insinto /opt/ymessenger/bin - doins yahoo_kde.xpm yahoo_gnome.png - doins ymessenger.desktop - - if use gnome - then - insinto /usr/share/gnome/apps/Internet - doins ymessenger.desktop - insinto /opt/ymessenger/bin - doins ymessenger.desktop - fi + insinto /usr/share/icons/hicolor/48x48/apps + newins yahoo_gnome.png yahoo.png - if use kde - then - insinto /usr/share/applnk/Internet - doins ymessenger.kdelnk - - insinto /opt/ymessenger/bin - doins ymessenger.kdelnk - fi + sed -e 's:Icon=.*:Icon=yahoo:' -i ymessenger.desktop + domenu ymessenger.desktop into /opt/ymessenger dolib ${S}/opt/ymessenger/lib/libgtkhtml.so.0 - cd ${T} - 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 + echo >${T}/ymessenger.gentoo <<EOF +#!/bin/sh +LD_LIBRARY_PATH=/opt/ymessenger/lib:\$LD_LIBRARY_PATH +export LD_LIBRARY_PATH +exec /opt/ymessenger/bin/ymessenger.bin $@ +EOF + exeinto /usr/bin - newexe ymessenger.gentoo ymessenger + newexe ${T}/ymessenger.gentoo ymessenger } pkg_postinst() { |