diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-12-08 00:21:35 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-12-08 00:21:35 +0000 |
commit | b9e2cbf68c030b17c6576f5a662fffd929032976 (patch) | |
tree | f3ab3c9b0b48275c22e36bf8521cc1df49e2f132 /games-sports | |
parent | fix manifests thanks to bekks (diff) | |
download | genstef-b9e2cbf68c030b17c6576f5a662fffd929032976.tar.gz genstef-b9e2cbf68c030b17c6576f5a662fffd929032976.tar.bz2 genstef-b9e2cbf68c030b17c6576f5a662fffd929032976.zip |
some games live ebuilds/updates
svn path=/; revision=79
Diffstat (limited to 'games-sports')
-rw-r--r-- | games-sports/blobby2/Manifest | 8 | ||||
-rw-r--r-- | games-sports/blobby2/blobby2-0.6a.ebuild | 69 | ||||
-rw-r--r-- | games-sports/blobby2/files/digest-blobby2-0.6a | 3 |
3 files changed, 80 insertions, 0 deletions
diff --git a/games-sports/blobby2/Manifest b/games-sports/blobby2/Manifest new file mode 100644 index 0000000..d9d29a6 --- /dev/null +++ b/games-sports/blobby2/Manifest @@ -0,0 +1,8 @@ +DIST blobby2-linux-0.6a.tar.gz 2110392 RMD160 81347078fc040b3de236f8b8f2ed68f424e62124 SHA1 0cd6000e4e39878b4c8f4213ae8a9158d341aa3b SHA256 da070839fd2c99269fcb0d4dfc0de10bb9fab980ca28408d2a27490244bce526 +EBUILD blobby2-0.6a.ebuild 1469 RMD160 1f679bc9f0225f9b8c7be967390603ffca8e7c9b SHA1 26f37e24e46f3e337f41bcb9cb893c8bfaff4786 SHA256 9f0c34a8d28fe27815d4107a6e6dde2886c4ace84bcd3830e5c6de8bad8b0a00 +MD5 548398b60d5402754c0ba72d6d9917bd blobby2-0.6a.ebuild 1469 +RMD160 1f679bc9f0225f9b8c7be967390603ffca8e7c9b blobby2-0.6a.ebuild 1469 +SHA256 9f0c34a8d28fe27815d4107a6e6dde2886c4ace84bcd3830e5c6de8bad8b0a00 blobby2-0.6a.ebuild 1469 +MD5 b7a576290d2cf7dc1ba270f26839a09a files/digest-blobby2-0.6a 259 +RMD160 2e4d07b72f77aaa298bb380ca0d4f258278283da files/digest-blobby2-0.6a 259 +SHA256 64292e42551ea9864feebf6f2b62f7cdb539782c99c727ee0b011a18ae34c573 files/digest-blobby2-0.6a 259 diff --git a/games-sports/blobby2/blobby2-0.6a.ebuild b/games-sports/blobby2/blobby2-0.6a.ebuild new file mode 100644 index 0000000..4f37aac --- /dev/null +++ b/games-sports/blobby2/blobby2-0.6a.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit autotools eutils games + +DESCRIPTION="Blobby Volley 2 - 1-on-1 volleyball" +HOMEPAGE="http://blobby.redio.de" +SRC_URI="mirror://sourceforge/blobby/${PN}-linux-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-games/physfs + virtual/opengl + media-libs/libsdl" +DEPEND="${RDEPEND}" + +dir=${GAMES_DATADIR}/${PN} + +src_unpack() { + unpack ${A} + + # Standardize the directory name + mv blobby* ${P} || die + cd "${S}" + + # Look in shared directory for server.xml + sed -i \ + -e "s:PHYSFS_addToSearchPath(\"data\":PHYSFS_addToSearchPath(\"${dir}\":" \ + src/DedicatedServer.cpp || die "sed DedicatedServer.cpp failed" +} + +src_compile() { + eautoreconf || die + + # Fix broken opengl recognition. + # There's probably a better way of doing this. + sed -i \ + -e "s:HAVE_LIBGL = @HAVE_LIBGL@:HAVE_LIBGL = 1:" \ + Makefile.in || die "sed Makefile.in failed" + + sed -i \ + -e "s:-lSDL:-lSDL -lGL:" \ + configure || die "sed configure failed" + + egamesconf \ + HAVE_LIBGL=1 \ + || die "egamesconf failed" + + emake \ + GAMEDATADIR="${dir}" \ + CFLAGS="${CFLAGS}" \ + CXXFLAGS="${CXXFLAGS}" \ + || die "emake failed" +} + +src_install() { + dogamesbin src/blobby{,-server} || die + make_desktop_entry blobby "Blobby Volley" + + insinto "${dir}" + doins -r data/* || die + rm -f "${D}/${dir}"/Makefile* + + dodoc AUTHORS ChangeLog NEWS README TODO +} diff --git a/games-sports/blobby2/files/digest-blobby2-0.6a b/games-sports/blobby2/files/digest-blobby2-0.6a new file mode 100644 index 0000000..1545847 --- /dev/null +++ b/games-sports/blobby2/files/digest-blobby2-0.6a @@ -0,0 +1,3 @@ +MD5 fdef3e59f0870d890be8dffaccd773ca blobby2-linux-0.6a.tar.gz 2110392 +RMD160 81347078fc040b3de236f8b8f2ed68f424e62124 blobby2-linux-0.6a.tar.gz 2110392 +SHA256 da070839fd2c99269fcb0d4dfc0de10bb9fab980ca28408d2a27490244bce526 blobby2-linux-0.6a.tar.gz 2110392 |