summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-05-23 11:39:31 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-05-23 11:39:31 +0000
commit144ca4b80f573a3ff726181314f879b5b4c10451 (patch)
tree6033a512406ea18da67625ac67d8ee62a1229caf /games-misc
parentRemove bugged bsdtar versions. (diff)
downloadgentoo-2-144ca4b80f573a3ff726181314f879b5b4c10451.tar.gz
gentoo-2-144ca4b80f573a3ff726181314f879b5b4c10451.tar.bz2
gentoo-2-144ca4b80f573a3ff726181314f879b5b4c10451.zip
fix SRC_URI and rm old revision
(Portage version: 2.1.2.7)
Diffstat (limited to 'games-misc')
-rw-r--r--games-misc/OilWar/OilWar-1.2.1-r1.ebuild12
-rw-r--r--games-misc/OilWar/OilWar-1.2.1.ebuild35
-rw-r--r--games-misc/OilWar/files/digest-OilWar-1.2.13
3 files changed, 6 insertions, 44 deletions
diff --git a/games-misc/OilWar/OilWar-1.2.1-r1.ebuild b/games-misc/OilWar/OilWar-1.2.1-r1.ebuild
index d82d456529c6..d9dfb15534f8 100644
--- a/games-misc/OilWar/OilWar-1.2.1-r1.ebuild
+++ b/games-misc/OilWar/OilWar-1.2.1-r1.ebuild
@@ -1,17 +1,17 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/OilWar/OilWar-1.2.1-r1.ebuild,v 1.1 2007/05/23 06:08:16 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/OilWar/OilWar-1.2.1-r1.ebuild,v 1.2 2007/05/23 11:39:31 nyhm Exp $
inherit eutils games
DESCRIPTION="Evil army is attacking your country and tries to steal your oil"
HOMEPAGE="http://www.2ndpoint.fi/projektit/oilwar.html"
SRC_URI="http://www.2ndpoint.fi/projektit/filut/${P}.tar.gz
- ${PN}.png"
+ mirror://gentoo/${PN}.png"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="amd64 ppc x86"
IUSE=""
DEPEND="media-libs/libsdl
@@ -20,7 +20,7 @@ DEPEND="media-libs/libsdl
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
sed -i '/^datafiledir/s:/games/:/:' Makefile.in || die "sed failed"
}
@@ -30,9 +30,9 @@ src_compile() {
}
src_install() {
- make install DESTDIR=${D} || die
+ emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog NEWS README TODO
doicon "${DISTDIR}"/${PN}.png
- make_desktop_entry oilwar ${PN} ${PN}.png
+ make_desktop_entry oilwar ${PN}
prepgamesdirs
}
diff --git a/games-misc/OilWar/OilWar-1.2.1.ebuild b/games-misc/OilWar/OilWar-1.2.1.ebuild
deleted file mode 100644
index 1428b3706f52..000000000000
--- a/games-misc/OilWar/OilWar-1.2.1.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/OilWar/OilWar-1.2.1.ebuild,v 1.7 2006/09/24 11:36:08 blubb Exp $
-
-inherit games
-
-DESCRIPTION="Evil army is attacking your country and tries to steal your oil"
-HOMEPAGE="http://www.2ndpoint.fi/projektit/oilwar.html"
-SRC_URI="http://www.2ndpoint.fi/projektit/filut/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE=""
-
-DEPEND="media-libs/libsdl
- media-libs/sdl-image
- media-libs/sdl-mixer"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- sed -i '/^datafiledir/s:/games/:/:' Makefile.in || die "sed failed"
-}
-
-src_compile() {
- egamesconf --enable-sound || die
- emake || die
-}
-
-src_install() {
- make install DESTDIR=${D} || die
- dodoc AUTHORS ChangeLog NEWS README TODO
- prepgamesdirs
-}
diff --git a/games-misc/OilWar/files/digest-OilWar-1.2.1 b/games-misc/OilWar/files/digest-OilWar-1.2.1
deleted file mode 100644
index 4d01291df96f..000000000000
--- a/games-misc/OilWar/files/digest-OilWar-1.2.1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 6286e7f5a5f4f8ce6489a996b188caa2 OilWar-1.2.1.tar.gz 515013
-RMD160 c59713f00d00da025f01d1daa34bf514d035d8d4 OilWar-1.2.1.tar.gz 515013
-SHA256 e16ffd11439dfc857daaa98cf8a266b24794a4fbb1e84c1558794ffb622b5c63 OilWar-1.2.1.tar.gz 515013