summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-10 19:29:22 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-10 19:29:22 +0000
commitf0759f77429dfcff11fdeb040d0553dd1e8e0bd8 (patch)
treebc451cfc4f19d245b0c6a7f10e547fdc2006db52 /games-arcade/missile/missile-1.0.1.ebuild
parentaction games ! (diff)
downloadgentoo-2-f0759f77429dfcff11fdeb040d0553dd1e8e0bd8.tar.gz
gentoo-2-f0759f77429dfcff11fdeb040d0553dd1e8e0bd8.tar.bz2
gentoo-2-f0759f77429dfcff11fdeb040d0553dd1e8e0bd8.zip
arcade games !
Diffstat (limited to 'games-arcade/missile/missile-1.0.1.ebuild')
-rw-r--r--games-arcade/missile/missile-1.0.1.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/games-arcade/missile/missile-1.0.1.ebuild b/games-arcade/missile/missile-1.0.1.ebuild
new file mode 100644
index 000000000000..1243008f11e6
--- /dev/null
+++ b/games-arcade/missile/missile-1.0.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/missile/missile-1.0.1.ebuild,v 1.1 2003/09/10 19:29:21 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="The Atari game Missile Command for Linux"
+HOMEPAGE="http://missile.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86"
+
+DEPEND=">=media-libs/libsdl-1.2.4
+ >=media-libs/sdl-image-1.2.1
+ >=media-libs/sdl-mixer-1.2.4
+ media-libs/libpng
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-Makefile-path-fix.patch
+ sed -i \
+ -e "/^game_prefix/s:=GENTOO:=${GAMES_PREFIX}:" \
+ -e "/^game_bin/s:=GENTOO:=${GAMES_PREFIX}/bin:" \
+ -e "/^game_data/s:=GENTOO:=${GAMES_DATADIR}/${PN}:" \
+ -e "/^game_icons/s:=GENTOO:=/usr/share/pixmaps/${PN}:" \
+ -e "/^install_as_owner/s:=GENTOO:=${GAMES_USER}:" \
+ -e "/^install_as_group/s:=GENTOO:=${GAMES_GROUP}:" \
+ Makefile
+}
+
+src_compile() {
+ make MYOPTS="${CFLAGS}" || die
+}
+
+src_install() {
+ make install DESTDIR=${D} || die
+ dodoc README INSTALL
+ prepgamesdirs
+}