summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-06-03 23:17:46 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-06-03 23:17:46 +0000
commitb86193037f06ee0057b8add414118e4add646953 (patch)
treee8aaca0c49b97e1b109c5d94ea2e70b5330c3381 /games-action/battalion
parentStable on mips. (Manifest recommit) (diff)
downloadgentoo-2-b86193037f06ee0057b8add414118e4add646953.tar.gz
gentoo-2-b86193037f06ee0057b8add414118e4add646953.tar.bz2
gentoo-2-b86193037f06ee0057b8add414118e4add646953.zip
use generic src_compile; rm in unpack; use cp instead of doins
Diffstat (limited to 'games-action/battalion')
-rw-r--r--games-action/battalion/ChangeLog5
-rw-r--r--games-action/battalion/battalion-1.4b.ebuild25
2 files changed, 10 insertions, 20 deletions
diff --git a/games-action/battalion/ChangeLog b/games-action/battalion/ChangeLog
index cb282892e5c6..8ba4c92f638d 100644
--- a/games-action/battalion/ChangeLog
+++ b/games-action/battalion/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-action/battalion
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/battalion/ChangeLog,v 1.2 2004/06/03 23:10:05 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/battalion/ChangeLog,v 1.3 2004/06/03 23:17:46 mr_bones_ Exp $
+
+ 03 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> battalion-1.4b.ebuild:
+ use generic src_compile; rm in unpack; use cp instead of doins
03 Jun 2004; Chris Gianelloni <wolf31o2@gentoo.org> battalion-1.4b.ebuild:
Adding dodir...
diff --git a/games-action/battalion/battalion-1.4b.ebuild b/games-action/battalion/battalion-1.4b.ebuild
index 55953004a85d..5445b5679ff0 100644
--- a/games-action/battalion/battalion-1.4b.ebuild
+++ b/games-action/battalion/battalion-1.4b.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/battalion/battalion-1.4b.ebuild,v 1.3 2004/06/03 23:10:05 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/battalion/battalion-1.4b.ebuild,v 1.4 2004/06/03 23:17:46 mr_bones_ Exp $
inherit games
@@ -43,28 +43,15 @@ src_unpack() {
sed -i \
-e "s:-O2:${CFLAGS}:" \
Makefile || die "sed Makefile failed"
-}
-
-src_compile() {
- emake || die "emake failed"
-}
-
-src_install() {
- local f
-
# Only .raw sound files are used on Linux. The .au files are not needed.
rm {SOUNDS,MUSIC}/*.au
+}
- # Install game data
- for f in DATA MUSIC SOUNDS TEXTURES
- do
- dodir ${dir}/${f}
- insinto ${dir}/${f}
- doins ${f}/*
- done
-
- dodoc README
+src_install() {
dogamesbin battalion || die "dogamesbin failed"
+ dodir "${dir}"
+ cp -r DATA MUSIC SOUNDS TEXTURES "${D}${dir}" || die "cp failed"
+ dodoc README
dodir "${GAMES_STATEDIR}"
touch "${D}${GAMES_STATEDIR}/battalion_hiscore"