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

Bug 768

Summary: New Ebuild -- gtkballs
Product: Gentoo Linux Reporter: Seemant Kulleen <seemantk>
Component: New packagesAssignee: Seemant Kulleen (RETIRED) <seemant>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 1.0 RC6 r14   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gtkballs ebuild

Description Seemant Kulleen 2002-02-19 10:33:32 UTC
Another game. This time it's gtkballs.  I was searching for a game like this for
a while.  I used to play the M$N version of it when I was on winders.  Thought
others might get a kick.
Comment 1 Seemant Kulleen 2002-02-19 10:33:59 UTC
Created attachment 208 [details]
gtkballs ebuild
Comment 2 Seemant Kulleen 2002-02-20 15:41:03 UTC
Hi,

A slighly fixed up version of the ebuild.

Thanks,

Seemant



# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author: Seemant Kulleen <seemant@rocketmail.com>
# $Header$

S=${WORKDIR}/${P}
DESCRIPTION="An entertaining game based on the old DOS game lines"
SRC_URI="http://gtkballs.antex.ru/dist/${P}.tar.gz"
HOMEPAGE="http://gtkballs.antex.ru/"

DEPEND="virtual/x11
    virtual/glibc
    >=x11-libs/gtk+-1.2.10-r4
    nls? ( >=sys-devel/gettext-0.10.38 ) "

RDEPEND="$DEPEND"

src_compile() {
    local myconf
    use nls && myconf="$myconf --enable-nls" \
        || myconf="$myconf --disable-nls"

    ./configure \
        --host=${CHOST} \
        --prefix=/usr \
        --infodir=/usr/share/info \
        --mandir=/usr/share/man \
        $myconf || die "./configure failed"

    emake || die
}

src_install () {
    make \
        prefix=${D}/usr \
        mandir=${D}/usr/share/man \
        infodir=${D}/usr/share/info \
        install || die

    dodoc ChangeLog AUTHORS COPYING INSTALL README* TODO NEWS ABOUT-NLS
}
Comment 3 Dan Armak (RETIRED) gentoo-dev 2002-03-13 15:55:16 UTC
Hi Seemant, 
 
I didn't touch this because of the freeze. It's yours to handle now, anyway. 
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2002-06-05 05:02:24 UTC
added to portage