diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-10-12 03:48:38 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-10-12 03:48:38 +0000 |
commit | 5d2891f770538fd49489689d2f0cb109a61e8ac9 (patch) | |
tree | ea953f93a012e668887422e9a8651c0210456c17 /games-fps | |
parent | add cleanup code to (diff) | |
download | gentoo-2-5d2891f770538fd49489689d2f0cb109a61e8ac9.tar.gz gentoo-2-5d2891f770538fd49489689d2f0cb109a61e8ac9.tar.bz2 gentoo-2-5d2891f770538fd49489689d2f0cb109a61e8ac9.zip |
savage demo
Diffstat (limited to 'games-fps')
-rw-r--r-- | games-fps/savagedemo/ChangeLog | 8 | ||||
-rw-r--r-- | games-fps/savagedemo/files/digest-savagedemo-0 | 1 | ||||
-rw-r--r-- | games-fps/savagedemo/files/savagedemo | 4 | ||||
-rw-r--r-- | games-fps/savagedemo/files/savagedemo-dedicated_server | 3 | ||||
-rw-r--r-- | games-fps/savagedemo/savagedemo-0.ebuild | 50 |
5 files changed, 66 insertions, 0 deletions
diff --git a/games-fps/savagedemo/ChangeLog b/games-fps/savagedemo/ChangeLog new file mode 100644 index 000000000000..ec720c569c8d --- /dev/null +++ b/games-fps/savagedemo/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for games-fps/savagedemo +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/savagedemo/ChangeLog,v 1.1 2003/10/12 03:48:38 vapier Exp $ + +*savagedemo-0 (11 Oct 2003) + + 11 Oct 2003; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by me. diff --git a/games-fps/savagedemo/files/digest-savagedemo-0 b/games-fps/savagedemo/files/digest-savagedemo-0 new file mode 100644 index 000000000000..57f802ba802f --- /dev/null +++ b/games-fps/savagedemo/files/digest-savagedemo-0 @@ -0,0 +1 @@ +MD5 f8c13234547e0ab6805f017c865304c9 savagedemoinstaller-linux.sh 162996019 diff --git a/games-fps/savagedemo/files/savagedemo b/games-fps/savagedemo/files/savagedemo new file mode 100644 index 000000000000..80146af86c16 --- /dev/null +++ b/games-fps/savagedemo/files/savagedemo @@ -0,0 +1,4 @@ +#!/bin/sh +cd /opt/savagedemo +export LD_LIBRARY_PATH="libs:${LD_LIBRARY_PATH}" +exec ./savage.bin "$@" diff --git a/games-fps/savagedemo/files/savagedemo-dedicated_server b/games-fps/savagedemo/files/savagedemo-dedicated_server new file mode 100644 index 000000000000..8d56a25dc3b7 --- /dev/null +++ b/games-fps/savagedemo/files/savagedemo-dedicated_server @@ -0,0 +1,3 @@ +#!/bin/sh +cd /opt/savagedemo +exec ./dedicated_server.sh "$@" diff --git a/games-fps/savagedemo/savagedemo-0.ebuild b/games-fps/savagedemo/savagedemo-0.ebuild new file mode 100644 index 000000000000..eba12c1463b2 --- /dev/null +++ b/games-fps/savagedemo/savagedemo-0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/savagedemo/savagedemo-0.ebuild,v 1.1 2003/10/12 03:48:38 vapier Exp $ + +inherit games eutils + +DESCRIPTION="an intense first person combat mixed with RTS commanders" +HOMEPAGE="http://www.s2games.com/savage/" +SRC_URI="savagedemoinstaller-linux.sh" + +LICENSE="SAVAGE" +SLOT="0" +KEYWORDS="-* x86" +RESTRICT="fetch nostrip" + +DEPEND="virtual/x11 + virtual/opengl" + +S=${WORKDIR} + +pkg_nofetch() { + einfo "Please visit http://www.s2games.com/savage/downloads.html" + einfo "and place ${A} in ${DISTDIR}" +} + +pkg_setup() { + check_license + games_pkg_setup +} + +src_unpack() { + unpack_makeself +} + +src_install() { + local dir=${GAMES_PREFIX_OPT}/${PN} + dodir ${dir} + + cp -rf Savage/* linux/* ${D}/${dir}/ + insinto ${dir}/game + doins linux/game/game_demo.so + find ${D}/${dir} -type f -exec chmod a-x '{}' \; + exeinto ${dir} + doexe bin/x86/* + + dogamesbin ${FILESDIR}/${PN} + dogamesbin ${FILESDIR}/${PN}-dedicated_server + + prepgamesdirs +} |