summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-10-03 03:49:30 +0000
committerMike Frysinger <vapier@gentoo.org>2003-10-03 03:49:30 +0000
commit70eafab52958aaaab04a487c443525dc7391c32f (patch)
tree6e28ca5c5a19ed7b25ecaeac41af2ae90e893e55 /games-puzzle
parentamd64 patches based on mandrakes patch set (diff)
downloadgentoo-2-70eafab52958aaaab04a487c443525dc7391c32f.tar.gz
gentoo-2-70eafab52958aaaab04a487c443525dc7391c32f.tar.bz2
gentoo-2-70eafab52958aaaab04a487c443525dc7391c32f.zip
tweak
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/tetrinet/tetrinet-0.10.ebuild16
1 files changed, 11 insertions, 5 deletions
diff --git a/games-puzzle/tetrinet/tetrinet-0.10.ebuild b/games-puzzle/tetrinet/tetrinet-0.10.ebuild
index c8e58ecdc731..91185b190290 100644
--- a/games-puzzle/tetrinet/tetrinet-0.10.ebuild
+++ b/games-puzzle/tetrinet/tetrinet-0.10.ebuild
@@ -1,21 +1,27 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/tetrinet/tetrinet-0.10.ebuild,v 1.1 2003/09/17 18:01:56 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/tetrinet/tetrinet-0.10.ebuild,v 1.2 2003/10/03 03:49:30 vapier Exp $
-inherit games
+inherit games flag-o-matic
-S=${WORKDIR}/tetrinet
DESCRIPTION="console based tetrinet inc. standalone server"
HOMEPAGE="http://achurch.org/tetrinet/"
SRC_URI="http://achurch.org/tetrinet/tetrinet.tar.gz"
LICENSE="as-is"
-# don't mark this stable. There are still issues that need to be worked out.
-KEYWORDS="~x86"
SLOT="0"
+KEYWORDS="x86"
+IUSE="ipv6"
DEPEND=">=sys-libs/ncurses-5"
+S=${WORKDIR}/tetrinet
+
+src_compile() {
+ [ `use ipv6` ] && append-flags -DHAVE_IPV6
+ emake CFLAGS="${CFLAGS}" || die
+}
+
src_install() {
dogamesbin tetrinet tetrinet-server
dodoc README TODO tetrinet.txt