blob: dcec08c7d2060920ccbcd9005d5bfeb22695318e (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-puzzle/xtris/xtris-1.15.ebuild,v 1.6 2006/02/14 04:17:57 joshuabaergen Exp $
inherit games
S="${WORKDIR}/${PN}"
DESCRIPTION="a networked Tetris-like game"
HOMEPAGE="http://www.iagora.com/~espel/xtris/xtris.html"
SRC_URI="http://www.iagora.com/~espel/xtris/${P}.tar.gz"
KEYWORDS="x86 amd64 ppc"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
DEPEND="|| ( x11-libs/libX11 virtual/x11 )"
src_compile() {
emake \
BINDIR="${GAMES_BINDIR}" \
MANDIR=/usr/share/man \
XLIBDIR=-L/usr/X11R6/lib \
CFLAGS="${CFLAGS}" \
|| die "emake failed"
}
src_install() {
dogamesbin xtris xtserv xtbot || die "dogamesbin failed"
doman xtris.6 xtserv.6 xtbot.6 || die "doman failed"
dodoc ChangeLog PROTOCOL README || die "dodoc failed"
prepgamesdirs
}
|