diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-09 18:10:15 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-09 18:10:15 +0000 |
commit | c22ea1f9962983b3583d00085024413d77102212 (patch) | |
tree | acd80fa59d92f27b0609b3d58893ef500cd09925 /games-fps/ttyquake | |
parent | New version 'n cleanup (diff) | |
download | gentoo-2-c22ea1f9962983b3583d00085024413d77102212.tar.gz gentoo-2-c22ea1f9962983b3583d00085024413d77102212.tar.bz2 gentoo-2-c22ea1f9962983b3583d00085024413d77102212.zip |
games-fps uNF uNF uNF
Diffstat (limited to 'games-fps/ttyquake')
-rw-r--r-- | games-fps/ttyquake/ChangeLog | 8 | ||||
-rw-r--r-- | games-fps/ttyquake/Manifest | 4 | ||||
-rw-r--r-- | games-fps/ttyquake/files/digest-ttyquake-0.4.2 | 1 | ||||
-rw-r--r-- | games-fps/ttyquake/files/ttyquake | 26 | ||||
-rw-r--r-- | games-fps/ttyquake/ttyquake-0.4.2.ebuild | 34 |
5 files changed, 73 insertions, 0 deletions
diff --git a/games-fps/ttyquake/ChangeLog b/games-fps/ttyquake/ChangeLog new file mode 100644 index 000000000000..6638368b72d8 --- /dev/null +++ b/games-fps/ttyquake/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for app-games/ttyquake +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/ttyquake/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $ + +*ttyquake-0.4.2 (14 Jul 2003) + + 14 Jul 2003; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by me. diff --git a/games-fps/ttyquake/Manifest b/games-fps/ttyquake/Manifest new file mode 100644 index 000000000000..7387c5ab71dc --- /dev/null +++ b/games-fps/ttyquake/Manifest @@ -0,0 +1,4 @@ +MD5 7fec40d6ba955e1887992f85543d2b5e ChangeLog 344 +MD5 21acf48f9c126e5a41e39c4f0195399f ttyquake-0.4.2.ebuild 983 +MD5 840f23fc62d1eeee5fb8b1972afa769e files/digest-ttyquake-0.4.2 66 +MD5 eb38e9aaa3e52235ac67bfd13a8e9ca3 files/ttyquake 780 diff --git a/games-fps/ttyquake/files/digest-ttyquake-0.4.2 b/games-fps/ttyquake/files/digest-ttyquake-0.4.2 new file mode 100644 index 000000000000..877215aeea7d --- /dev/null +++ b/games-fps/ttyquake/files/digest-ttyquake-0.4.2 @@ -0,0 +1 @@ +MD5 bad02748bf8a07640792cb052db04eef ttyquake-0.4.2.tar.gz 269119 diff --git a/games-fps/ttyquake/files/ttyquake b/games-fps/ttyquake/files/ttyquake new file mode 100644 index 000000000000..e43cf8eb43c0 --- /dev/null +++ b/games-fps/ttyquake/files/ttyquake @@ -0,0 +1,26 @@ +#!/bin/sh +DISPLAY= +export LD_LIBRARY_PATH=GENTOO_LIBDIR:${LD_LIBRARY_PATH} + +if [ `whoami` = "root" ];then + echo "***********************************" + echo "* You can't run ttyquake as root. *" + echo "* Didn't you read the damn README *" + echo "* file? *" + echo "***********************************" + exit +fi + +if [ -u GAMES_BINDIR/squake ];then + echo "**********************************" + echo "* /squake is setuid. ttyquake *" + echo "* won't work unless you turn off *" + echo "* the setuid bit. As root, *" + echo "* please do: *" + echo "* chmod -s squake *" + echo "* and then run ttyquake again. *" + echo "**********************************" + exit +fi + +exec squake -nostdout $* diff --git a/games-fps/ttyquake/ttyquake-0.4.2.ebuild b/games-fps/ttyquake/ttyquake-0.4.2.ebuild new file mode 100644 index 000000000000..474e93c9376d --- /dev/null +++ b/games-fps/ttyquake/ttyquake-0.4.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/ttyquake/ttyquake-0.4.2.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $ + +inherit games eutils gcc + +DESCRIPTION="Play Quake at a text terminal, in an xterm, or over a telnet session" +HOMEPAGE="http://webpages.mr.net/bobz/ttyquake/" +SRC_URI="ftp://ftp.skypoint.com/pub/members/b/bobz/${P}.tar.gz + http://webpages.mr.net/bobz/ttyquake/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" + +RDEPEND="app-games/quake1" + +S=${WORKDIR} + +pkg_setup() { + [ -x ${GAMES_BINDIR}/squake ] || die "You must emerge quake1 with svga in your USE" + games_pkg_setup +} + +src_install() { + exeinto ${GAMES_LIBDIR}/${PN} + doexe tty/* + dogamesbin ${FILESDIR}/ttyquake + dosed "s:GENTOO_LIBDIR:${GAMES_LIBDIR}/${PN}:" ${GAMES_BINDIR}/ttyquake + dosed "s:GENTOO_BINDIR:${GAMES_BINDIR}:" ${GAMES_BINDIR}/ttyquake + + dodoc README.ttyquake + prepgamesdirs +} |