summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/sauerbraten/ChangeLog10
-rw-r--r--games-fps/sauerbraten/files/digest-sauerbraten-2007.12.276
-rw-r--r--games-fps/sauerbraten/sauerbraten-2007.12.27.ebuild61
3 files changed, 75 insertions, 2 deletions
diff --git a/games-fps/sauerbraten/ChangeLog b/games-fps/sauerbraten/ChangeLog
index 1f0d08da6b16..cd2116eebaa3 100644
--- a/games-fps/sauerbraten/ChangeLog
+++ b/games-fps/sauerbraten/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-fps/sauerbraten
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/sauerbraten/ChangeLog,v 1.8 2007/12/25 22:47:58 solar Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/sauerbraten/ChangeLog,v 1.9 2008/01/07 22:32:30 mr_bones_ Exp $
+
+*sauerbraten-2007.12.27 (07 Jan 2008)
+
+ 07 Jan 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ +sauerbraten-2007.12.27.ebuild:
+ version bump
25 Dec 2007; <solar@gentoo.org> sauerbraten-2007.08.29.ebuild:
- binary packages that are linked with libc.so.6 need to use sys-libs/glibc
diff --git a/games-fps/sauerbraten/files/digest-sauerbraten-2007.12.27 b/games-fps/sauerbraten/files/digest-sauerbraten-2007.12.27
new file mode 100644
index 000000000000..78a32f22c3c4
--- /dev/null
+++ b/games-fps/sauerbraten/files/digest-sauerbraten-2007.12.27
@@ -0,0 +1,6 @@
+MD5 b6847681997d8fdd8f7f069ff69d2393 patch-2007-12-27_linux.tar.gz 795433
+RMD160 a3105a5e9d277142a063b1436cac72586380cc4a patch-2007-12-27_linux.tar.gz 795433
+SHA256 add6bb3cd524efdc3623ab8bff81e67847352f83d0f81c318d140198a9d14eb7 patch-2007-12-27_linux.tar.gz 795433
+MD5 cfd52bfdbe42deb124473c487230d65a sauerbraten_2007_12_24_assassin_edition_linux.tar.bz2 233583167
+RMD160 63b80bad5c20438cfaa7f52f7c797be37db1483b sauerbraten_2007_12_24_assassin_edition_linux.tar.bz2 233583167
+SHA256 cc20bb05fe196904f3c8d42ff7eecc21e1bb90d083db0100c4c16641cc2c3b60 sauerbraten_2007_12_24_assassin_edition_linux.tar.bz2 233583167
diff --git a/games-fps/sauerbraten/sauerbraten-2007.12.27.ebuild b/games-fps/sauerbraten/sauerbraten-2007.12.27.ebuild
new file mode 100644
index 000000000000..426462c572c9
--- /dev/null
+++ b/games-fps/sauerbraten/sauerbraten-2007.12.27.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/sauerbraten/sauerbraten-2007.12.27.ebuild,v 1.1 2008/01/07 22:32:30 mr_bones_ Exp $
+
+inherit eutils multilib games
+
+DESCRIPTION="free multiplayer/singleplayer first person shooter (major redesign of the Cube FPS)"
+HOMEPAGE="http://sauerbraten.org/"
+SRC_URI="mirror://sourceforge/sauerbraten/sauerbraten_2007_12_24_assassin_edition_linux.tar.bz2
+ mirror://sourceforge/sauerbraten/patch-2007-12-27_linux.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="strip"
+
+DEPEND="sys-libs/glibc
+ x86? (
+ media-libs/libsdl
+ media-libs/sdl-mixer
+ media-libs/sdl-image
+ media-libs/libpng
+ virtual/opengl
+ )
+ amd64? (
+ app-emulation/emul-linux-x86-soundlibs
+ app-emulation/emul-linux-x86-sdl
+ )"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ find -name CVS -print0 | xargs -0 rm -rf
+}
+
+src_install() {
+ use amd64 && multilib_toolchain_setup x86
+
+ exeinto "$(games_get_libdir)"/${PN}
+ doexe bin_unix/linux_{client,server} || die
+
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r data packages || die
+
+ local x
+ for x in client server ; do
+ newgamesbin "${FILESDIR}"/wrapper ${PN}_${x}-bin || die
+ sed -i \
+ -e "s:@GENTOO_GAMESDIR@:${GAMES_DATADIR}/${PN}:g" \
+ -e "s:@GENTOO_EXEC@:$(games_get_libdir)/${PN}/linux_${x}:g" \
+ "${D}/${GAMES_BINDIR}"/${PN}_${x}-bin
+ done
+
+ dohtml -r README.html docs
+
+ make_desktop_entry ${PN}_client-bin ${PN}
+
+ prepgamesdirs
+}