Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 721 - yahoo! messenger
Summary: yahoo! messenger
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-16 23:35 UTC by Seemant Kulleen
Modified: 2002-04-27 17:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for ymessenger (ymessenger-0.93.0.1.ebuild,701 bytes, application/octet-stream)
2002-02-16 23:36 UTC, Seemant Kulleen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Seemant Kulleen 2002-02-16 23:35:06 UTC
Yahoo! delivers its ymessenger chat client as an rpm, which is fine to install 
if rpm is installed.  However, I would rather have one package manager on my 
system instead of two, so I created an ebuild.  It's so trivial, I am ashamed 
of even putting it up.  But, it worked on my system, so if someone out there 
could use it, here it is.
Comment 1 Seemant Kulleen 2002-02-16 23:36:37 UTC
Created attachment 190 [details]
ebuild for ymessenger
Comment 2 Seemant Kulleen 2002-02-21 05:00:57 UTC
PATH=/opt/Yahoo

That's in ${FILESDIR}/10yahoo
Comment 3 Seemant Kulleen 2002-02-28 04:48:16 UTC
Hi again,

This is actually the new, improved ebuild.  It contains accurate copyright info,
and none of that P= and A= nonsense that the attachment contains.  Please accept
this as the submission instead.

Thanks,

Seemant

---- Cut here

# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Authors: Seemant Kulleen <seemant@rocketmail.com>, aided a lot by Matthew
Kennedy <mbkennedy@ieee.com>
# $Header$

NP="ymessenger-0.93.0-1.i386.rpm"
S=${WORKDIR}/usr/local
DESCRIPTION="Yahoo Messenger"
SRC_URI="ymessenger-0.93.0-1.i386.rpm"
HOMEPAGE="http://messenger.yahoo.com"

DEPEND=">=app-arch/rpm-3.0.6"
RDEPEND="virtual/x11"
RESTRICT="fetch"

dyn_fetch() {
    for y in ${A}
    do
        digest_check ${y}
            if [ $? -ne 0 ]; then
                einfo "Please download yourself from messenger.yahoo.com"
            einfo "and place it in ${DISTDIR}"
                exit 1
            fi
    done
}


src_unpack() {
    rpm2cpio ${DISTDIR}/${NP} | cpio -i --make-directories
}

src_compile() {
    einfo "A binary package, nothing to compile"
}

src_install () {
    exeinto /opt/Yahoo/
    doexe bin/ymessenger
    insinto /etc/env.d
    doins ${FILESDIR}/10ymessenger
}