summaryrefslogtreecommitdiff
blob: bbecb743d1c06a4f573de138c438ae144b2d67b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-simulation/corewars/corewars-0.9.12.ebuild,v 1.3 2004/06/24 23:22:13 agriffis Exp $

DESCRIPTION="Simulation game involving virtual machine code"
SRC_URI="mirror://sourceforge/corewars/${P}.tar.gz"
HOMEPAGE="http://corewars.sourceforge.net/"

KEYWORDS="x86 ppc"
SLOT="0"
LICENSE="GPL-2"

DEPEND="virtual/x11
	virtual/glibc
	>=dev-libs/glib-1.2.10-r1
	=x11-libs/gtk+-1.2*"

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
}