diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-04-28 18:26:11 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-04-28 18:26:11 +0000 |
commit | 8778f0b01f09997d13c21e1a2fc96b630fd3567f (patch) | |
tree | abb724fcd8257608f2b5e707b1a7e3fab35ec44c /games-misc | |
parent | gcc 3.4 fix (Manifest recommit) (diff) | |
download | gentoo-2-8778f0b01f09997d13c21e1a2fc96b630fd3567f.tar.gz gentoo-2-8778f0b01f09997d13c21e1a2fc96b630fd3567f.tar.bz2 gentoo-2-8778f0b01f09997d13c21e1a2fc96b630fd3567f.zip |
use epatch; inherit eutils; error check/messages
Diffstat (limited to 'games-misc')
-rw-r--r-- | games-misc/c++robots/ChangeLog | 7 | ||||
-rw-r--r-- | games-misc/c++robots/c++robots-0.ebuild | 16 |
2 files changed, 15 insertions, 8 deletions
diff --git a/games-misc/c++robots/ChangeLog b/games-misc/c++robots/ChangeLog index d5128750c5f0..741967ff38e4 100644 --- a/games-misc/c++robots/ChangeLog +++ b/games-misc/c++robots/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-misc/c++robots -# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-misc/c++robots/ChangeLog,v 1.2 2003/09/10 20:26:12 vapier Exp $ +# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-misc/c++robots/ChangeLog,v 1.3 2004/04/28 18:26:11 mr_bones_ Exp $ + + 28 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> c++robots-0.ebuild: + use epatch; inherit eutils; error check/messages *c++robots-0 (01 Jan 2002) diff --git a/games-misc/c++robots/c++robots-0.ebuild b/games-misc/c++robots/c++robots-0.ebuild index f813ec9c968e..21d0d0cb0bf7 100644 --- a/games-misc/c++robots/c++robots-0.ebuild +++ b/games-misc/c++robots/c++robots-0.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-misc/c++robots/c++robots-0.ebuild,v 1.2 2004/02/20 06:43:58 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-misc/c++robots/c++robots-0.ebuild,v 1.3 2004/04/28 18:26:11 mr_bones_ Exp $ -inherit games +inherit eutils games DESCRIPTION="ongoing 'King of the Hill' (KotH) tournament" HOMEPAGE="http://www.gamerz.net/c++robots/" @@ -17,16 +17,20 @@ DEPEND="virtual/glibc" S="${WORKDIR}/${PN}" -src_compile() { - patch -p0 < ${FILESDIR}/proper-coding.patch +src_unpack() { + unpack ${A} + cd ${S} + epatch "${FILESDIR}/proper-coding.patch" +} +src_compile() { local myldflags="${LDFLAGS}" use static && myldflags="${myldflags} -static" - emake CFLAGS="${CFLAGS}" LDFLAGS="${myldflags}" || die + emake CFLAGS="${CFLAGS}" LDFLAGS="${myldflags}" || die "emake failed" } src_install() { - dogamesbin combat cylon target tracker + dogamesbin combat cylon target tracker || die "dogamesbin failed" dodoc README prepgamesdirs } |