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
commitc2d8b23ebdfef965ee99b431a64441d7cbc92f16 (patch)
treee503460a50e7e63f1728100014dc996dd104173d
parentamd64 patches based on mandrakes patch set (diff)
downloadhistorical-c2d8b23ebdfef965ee99b431a64441d7cbc92f16.tar.gz
historical-c2d8b23ebdfef965ee99b431a64441d7cbc92f16.tar.bz2
historical-c2d8b23ebdfef965ee99b431a64441d7cbc92f16.zip
tweak
-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