summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-06-04 02:47:38 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-06-04 02:47:38 +0000
commit3ee1f282b3a3b835ff3f50c01765ca576887d914 (patch)
treed11c2eb1d66f5128f6b11f9e90ae0ebc0ddf0b51 /games-arcade/gav/gav-0.9.0.ebuild
parentStable on x86; bug #135254 (diff)
downloadgentoo-2-3ee1f282b3a3b835ff3f50c01765ca576887d914.tar.gz
gentoo-2-3ee1f282b3a3b835ff3f50c01765ca576887d914.tar.bz2
gentoo-2-3ee1f282b3a3b835ff3f50c01765ca576887d914.zip
version bump
(Portage version: 2.1_rc4)
Diffstat (limited to 'games-arcade/gav/gav-0.9.0.ebuild')
-rw-r--r--games-arcade/gav/gav-0.9.0.ebuild72
1 files changed, 72 insertions, 0 deletions
diff --git a/games-arcade/gav/gav-0.9.0.ebuild b/games-arcade/gav/gav-0.9.0.ebuild
new file mode 100644
index 000000000000..26761a794576
--- /dev/null
+++ b/games-arcade/gav/gav-0.9.0.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/gav/gav-0.9.0.ebuild,v 1.1 2006/06/04 02:47:38 mr_bones_ Exp $
+
+inherit eutils games
+
+DESCRIPTION="GPL Arcade Volleyball"
+HOMEPAGE="http://gav.sourceforge.net/"
+# the themes are behind a lame php-counter script.
+SRC_URI="mirror://sourceforge/gav/${P}.tar.gz
+ mirror://gentoo/fabeach.tgz
+ mirror://gentoo/florindo.tgz
+ mirror://gentoo/inverted.tgz
+ mirror://gentoo/naive.tgz
+ mirror://gentoo/unnamed.tgz
+ mirror://gentoo/yisus.tgz
+ mirror://gentoo/yisus2.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86"
+IUSE=""
+
+DEPEND="media-libs/sdl-image
+ media-libs/sdl-net
+ media-libs/libsdl"
+
+src_unpack() {
+ local d
+
+ unpack ${P}.tar.gz
+ cd "${S}"
+
+ for d in . automa menu net ; do
+ cp ${d}/Makefile.Linux ${d}/Makefile || die "cp ${d}/Makefile failed"
+ done
+
+ sed -i \
+ -e "s:/usr/bin:${GAMES_BINDIR}:" \
+ -e "/strip/d" \
+ Makefile \
+ || die "sed failed"
+ sed -i \
+ -e "/^CXXFLAGS=/s: -g : ${CXXFLAGS} :" CommonHeader \
+ || die "sed failed"
+
+ # Now, unpack the additional themes
+ cd "${S}"/themes
+ # unpack everything because it's easy
+ unpack ${A}
+ # and kill off what we don't want
+ rm -rf ${P}
+
+ # no reason to have executable files in the themes
+ find . -type f -exec chmod a-x \{\} \;
+}
+
+src_compile() {
+ # bug #41530 - doesn't like the hot parallel make action.
+ emake -C automa || die "emake failed"
+ emake -C menu || die "emake failed"
+ emake -C net || die "emake failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ dodir "${GAMES_BINDIR}"
+ make ROOT="${D}" install || die "make install failed"
+ cp -r sounds/ "${D}${GAMES_DATADIR}/${PN}" || die "cp failed"
+ dodoc CHANGELOG README
+ prepgamesdirs
+}