Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 768 - New Ebuild -- gtkballs
Summary: New Ebuild -- gtkballs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-19 10:33 UTC by Seemant Kulleen
Modified: 2003-02-04 19:42 UTC (History)
0 users

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


Attachments
gtkballs ebuild (gtkballs-2.2.0.ebuild,970 bytes, application/octet-stream)
2002-02-19 10:33 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-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