diff options
author | 2003-10-19 00:42:46 +0000 | |
---|---|---|
committer | 2003-10-19 00:42:46 +0000 | |
commit | eba57ed4f6f590a299878e03069a6fb33399d82e (patch) | |
tree | 07e042058df03ba32a4c39fa0c1e265399a47f4e /games-arcade/gav/gav-0.7.3.ebuild | |
parent | initial commit (bug 30608) (diff) | |
download | gentoo-2-eba57ed4f6f590a299878e03069a6fb33399d82e.tar.gz gentoo-2-eba57ed4f6f590a299878e03069a6fb33399d82e.tar.bz2 gentoo-2-eba57ed4f6f590a299878e03069a6fb33399d82e.zip |
initial commit (bug 30608)
Diffstat (limited to 'games-arcade/gav/gav-0.7.3.ebuild')
-rw-r--r-- | games-arcade/gav/gav-0.7.3.ebuild | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/games-arcade/gav/gav-0.7.3.ebuild b/games-arcade/gav/gav-0.7.3.ebuild new file mode 100644 index 000000000000..a2e03803cc23 --- /dev/null +++ b/games-arcade/gav/gav-0.7.3.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/gav/gav-0.7.3.ebuild,v 1.1 2003/10/19 00:42:42 mr_bones_ Exp $ + +inherit 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/inverted.tgz + mirror://gentoo/naive.tgz + mirror://gentoo/unnamed.tgz + mirror://gentoo/yisus.tgz + mirror://gentoo/yisus2.tgz" + +KEYWORDS="x86" +LICENSE="GPL-2" +SLOT="0" + +RDEPEND="media-libs/sdl-image + media-libs/sdl-net + media-libs/libsdl" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +IUSE="" + +src_unpack() { + unpack ${P}.tar.gz + cd ${S} + + cp Makefile.Linux Makefile || die "cp 1 failed" + cp automa/Makefile.Linux automa/Makefile || die "cp 2 failed" + cp menu/Makefile.Linux menu/Makefile || die "cp 3 failed" + cp net/Makefile.Linux net/Makefile || die "cp 4 failed" + + sed -i \ + -e "s:/usr/bin:${GAMES_BINDIR}:" Makefile || \ + die "sed Makefile failed" + sed -i \ + -e "/-Wall/ s$ ${CXXFLAGS}" CommonHeader || \ + die "sed CommonHeader 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_install() { + dodir ${GAMES_BINDIR} || die "dodir failed" + egamesinstall ROOT=${D} || die + dodoc CHANGELOG README || die "dodoc failed" + prepgamesdirs +} |