summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2003-10-03 18:50:31 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2003-10-03 18:50:31 +0000
commit07a0ea714fc134456ee0a2e1dfb904bf8b4bfab6 (patch)
tree54aa3ea4334c64a014e04e935d8b7f0687807a39 /games-puzzle/tetrinet/tetrinet-0.11.ebuild
parentversion bump. (diff)
downloadgentoo-2-07a0ea714fc134456ee0a2e1dfb904bf8b4bfab6.tar.gz
gentoo-2-07a0ea714fc134456ee0a2e1dfb904bf8b4bfab6.tar.bz2
gentoo-2-07a0ea714fc134456ee0a2e1dfb904bf8b4bfab6.zip
version bump.
Diffstat (limited to 'games-puzzle/tetrinet/tetrinet-0.11.ebuild')
-rw-r--r--games-puzzle/tetrinet/tetrinet-0.11.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/games-puzzle/tetrinet/tetrinet-0.11.ebuild b/games-puzzle/tetrinet/tetrinet-0.11.ebuild
new file mode 100644
index 000000000000..d3a393f33c50
--- /dev/null
+++ b/games-puzzle/tetrinet/tetrinet-0.11.ebuild
@@ -0,0 +1,37 @@
+# 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.11.ebuild,v 1.1 2003/10/03 18:50:29 mr_bones_ Exp $
+
+inherit games flag-o-matic
+
+DESCRIPTION="console based tetrinet inc. standalone server"
+HOMEPAGE="http://tetrinet.or.cz/"
+SRC_URI="http://tetrinet.or.cz/download/${P}.tar.bz2"
+
+KEYWORDS="x86"
+LICENSE="as-is"
+SLOT="0"
+
+IUSE="ipv6"
+
+RDEPEND=">=sys-libs/ncurses-5"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ [ `use ipv6` ] && append-flags -DHAVE_IPV6
+
+ sed -i \
+ -e 's/-DHAVE_IPV6//' \
+ -e "s:-O2:${CFLAGS}:" Makefile || \
+ die "sed Makefile failed"
+}
+
+src_install() {
+ dogamesbin tetrinet tetrinet-server || die "dogamesbin failed"
+ dodoc README TODO tetrinet.txt || die "dodoc failed"
+ prepgamesdirs
+}