blob: 3570da6779afac7d2316e9e2a1b7b8626fdc6f8f (
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
35
36
37
|
# 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.7 2006/10/31 19:08:23 nyhm Exp $
inherit eutils toolchain-funcs games
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"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
DEPEND="x11-libs/libX11"
S=${WORKDIR}/${PN}
src_compile() {
emake \
CC=$(tc-getCC) \
BINDIR="${GAMES_BINDIR}" \
MANDIR=/usr/share/man \
CFLAGS="${CFLAGS}" \
EXTRALIBS="${LDFLAGS}" \
|| die "emake failed"
}
src_install() {
dogamesbin xtris xtserv xtbot || die "dogamesbin failed"
doicon "${FILESDIR}"/${PN}.xpm
make_desktop_entry ${PN} xtris ${PN}.xpm
doman xtris.6 xtserv.6 xtbot.6
dodoc ChangeLog PROTOCOL README
prepgamesdirs
}
|