Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 721

Summary: yahoo! messenger
Product: Gentoo Linux Reporter: Seemant Kulleen <seemantk>
Component: New packagesAssignee: Seemant Kulleen (RETIRED) <seemant>
Status: RESOLVED FIXED    
Severity: trivial    
Priority: High    
Version: 1.0 RC6 r14   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild for ymessenger

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
}