summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-puzzle/xtris/xtris-1.15.ebuild')
-rw-r--r--games-puzzle/xtris/xtris-1.15.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/games-puzzle/xtris/xtris-1.15.ebuild b/games-puzzle/xtris/xtris-1.15.ebuild
new file mode 100644
index 000000000000..c18106d0ef52
--- /dev/null
+++ b/games-puzzle/xtris/xtris-1.15.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+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"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${PN}
+
+src_compile() {
+ emake \
+ CC=$(tc-getCC) \
+ BINDIR="${GAMES_BINDIR}" \
+ MANDIR=/usr/share/man \
+ CFLAGS="${CFLAGS}" \
+ EXTRALIBS="${LDFLAGS}"
+}
+
+src_install() {
+ dogamesbin xtris xtserv xtbot
+ doicon "${FILESDIR}"/${PN}.xpm
+ make_desktop_entry ${PN} xtris ${PN}
+ doman xtris.6 xtserv.6 xtbot.6
+ dodoc ChangeLog PROTOCOL README
+ prepgamesdirs
+}