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

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


Attachments
corewars ebuild (corewars-0.9.12.ebuild,832 bytes, application/octet-stream)
2002-02-19 10:32 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:31:55 UTC
corewars is an interesting game.  Quite a mental challenge which focuses on iq
rather than fps.  The idea is to create code in a vm that competes with other
code to chew up maximum memory of that virtual machine.  Clever, it even comes
with its own language.
Comment 1 Seemant Kulleen 2002-02-19 10:32:20 UTC
Created attachment 207 [details]
corewars ebuild
Comment 2 Bart Verwilst 2002-02-20 08:37:26 UTC
I have a problem with opening the ebuild...
Could you please paste it as a comment? (if that doesn't screw up the formatting)
Thanks!
Comment 3 Seemant Kulleen 2002-02-20 15:09:23 UTC
# 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$

A=corewars-0.9.12.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="Simulation game involving virtual machine code."
SRC_URI="http://download.sourceforge.net/corewars/${A}"
HOMEPAGE="http://corewars.sourcefourge.net/"

DEPEND="virtual/x11
        virtual/glibc
        >=dev-libs/glib-1.2.10-r1
        >=x11-libs/gtk+-1.2.10-r4"
        
RDEPEND="$DEPEND"

src_compile() {
        
        ./configure --prefix=/usr \
                                --mandir=/usr/share/man \
                                --infodir=/usr/share/info \
                || die

        emake || die
}

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

        dodoc ChangeLog COPYING README TODO DIFFERENCES INTERESTING-COMBINATIONS
}
Comment 4 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:22:50 UTC
db fix
Comment 5 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:27:42 UTC
db fix