diff options
Diffstat (limited to 'games-arcade/project-starfighter/project-starfighter-1.00.ebuild')
-rw-r--r-- | games-arcade/project-starfighter/project-starfighter-1.00.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/games-arcade/project-starfighter/project-starfighter-1.00.ebuild b/games-arcade/project-starfighter/project-starfighter-1.00.ebuild new file mode 100644 index 000000000000..75ca30fd71d4 --- /dev/null +++ b/games-arcade/project-starfighter/project-starfighter-1.00.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/project-starfighter/project-starfighter-1.00.ebuild,v 1.1 2003/09/10 19:29:21 vapier Exp $ + +inherit games + +DESCRIPTION="A space themed shooter" +HOMEPAGE="http://www.parallelrealities.co.uk/starfighter.php" +KEYWORDS="x86" +LICENSE="as-is" + +S="${WORKDIR}/Starfighter" +# Parallel Realities seems to always use the same name for releases. +SRC_URI="mirror://gentoo/${P}.tar.gz" + +RDEPEND="virtual/glibc + media-libs/libsdl + media-libs/sdl-image + media-libs/sdl-mixer" +DEPEND="$RDEPEND + >=sys-apps/sed-4" + +SLOT=0 + +src_unpack() { + unpack ${A} + cd ${S} && \ + sed -i \ + -e "s-g -O3${CXXFLAGS} `sdl-config --cflags`" \ + makefile || die "sed makefile failed" +} + +src_compile() { + emake DATA="${GAMES_DATADIR}/parallelrealities/" || die +} + +src_install () { + dogamesbin starfighter || die "dogamesbin failed" + insinto "${GAMES_DATADIR}/parallelrealities/" + doins starfighter.pak + + dodoc readme.txt + dohtml -r manual/ + + prepgamesdirs +} |