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
commit86b8c63cfbdb11fa415d69f6a25f6d26bb46b71a (patch)
tree8433a839ff44bb32dbaa3868dd2a04025c76caf9 /games-action
parentStable on mips. (diff)
downloadhistorical-86b8c63cfbdb11fa415d69f6a25f6d26bb46b71a.tar.gz
historical-86b8c63cfbdb11fa415d69f6a25f6d26bb46b71a.tar.bz2
historical-86b8c63cfbdb11fa415d69f6a25f6d26bb46b71a.zip
use generic src_compile; rm in unpack; use cp instead of doins
Diffstat (limited to 'games-action')
-rw-r--r--games-action/battalion/ChangeLog5
-rw-r--r--games-action/battalion/Manifest4
-rw-r--r--games-action/battalion/battalion-1.4b.ebuild25
3 files changed, 12 insertions, 22 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/Manifest b/games-action/battalion/Manifest
index 2fc4e18c3372..4bd020bef3d1 100644
--- a/games-action/battalion/Manifest
+++ b/games-action/battalion/Manifest
@@ -1,4 +1,4 @@
-MD5 69983783fdf392c86100b28de4f2d4a6 battalion-1.4b.ebuild 1842
-MD5 eacbf1cccf7ee5b6e703d8aa9af3e251 ChangeLog 532
+MD5 085d497dfeb223e0262bcccd8a8dc91d ChangeLog 676
+MD5 9662d2b881ed313ea77a41d8aceb4ca7 battalion-1.4b.ebuild 1739
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
MD5 b52bd3a03b360ec5ae1bb934a5bcc61c files/digest-battalion-1.4b 66
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"