diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2007-08-28 16:58:15 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2007-08-28 16:58:15 +0000 |
commit | cba42fa0fd54128e2e1c59bdcf1236f6c022160b (patch) | |
tree | 6899b61eb73e6abdcce2b3ff9f6e31de21f5c4fb /games-arcade/cdogs-sdl | |
parent | Stable for HPPA (bug #185823). (diff) | |
download | gentoo-2-cba42fa0fd54128e2e1c59bdcf1236f6c022160b.tar.gz gentoo-2-cba42fa0fd54128e2e1c59bdcf1236f6c022160b.tar.bz2 gentoo-2-cba42fa0fd54128e2e1c59bdcf1236f6c022160b.zip |
x86 and tidy ebuild
(Portage version: 2.1.2.12)
Diffstat (limited to 'games-arcade/cdogs-sdl')
-rw-r--r-- | games-arcade/cdogs-sdl/ChangeLog | 5 | ||||
-rw-r--r-- | games-arcade/cdogs-sdl/cdogs-sdl-0.3.ebuild | 30 |
2 files changed, 19 insertions, 16 deletions
diff --git a/games-arcade/cdogs-sdl/ChangeLog b/games-arcade/cdogs-sdl/ChangeLog index 3a36087200f7..f59ea8bbd70d 100644 --- a/games-arcade/cdogs-sdl/ChangeLog +++ b/games-arcade/cdogs-sdl/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-arcade/cdogs-sdl # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/cdogs-sdl/ChangeLog,v 1.1 2007/05/16 06:42:21 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/cdogs-sdl/ChangeLog,v 1.2 2007/08/28 16:58:15 mr_bones_ Exp $ + + 28 Aug 2007; Michael Sterrett <mr_bones_@gentoo.org> cdogs-sdl-0.3.ebuild: + x86 and tidy ebuild *cdogs-sdl-0.3 (16 May 2007) diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-0.3.ebuild b/games-arcade/cdogs-sdl/cdogs-sdl-0.3.ebuild index 9e00d55de232..51e5999ee932 100644 --- a/games-arcade/cdogs-sdl/cdogs-sdl-0.3.ebuild +++ b/games-arcade/cdogs-sdl/cdogs-sdl-0.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/cdogs-sdl/cdogs-sdl-0.3.ebuild,v 1.1 2007/05/16 06:42:21 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/cdogs-sdl/cdogs-sdl-0.3.ebuild,v 1.2 2007/08/28 16:58:15 mr_bones_ Exp $ inherit eutils games @@ -13,38 +13,38 @@ SRC_URI="http://icculus.org/${PN}/files/src/${P}.tar.bz2 LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="media-libs/sdl-mixer" -S="${WORKDIR}/${P}/src" +S=${WORKDIR}/${P}/src src_unpack() { unpack ${A} mv ${CDOGS_DATA} ${P}/data || die "Failed moving data around" cd "${S}" - sed -i -e "/^CF_OPT/d" \ - Makefile || die "Failed patching Makefile" + sed -i \ + -e "/^CF_OPT/d" \ + Makefile \ + || die "Failed patching Makefile" } src_compile() { emake I_AM_CONFIGURED=yes \ - SYSTEM=\"linux\" \ - DATADIR=\"${GAMES_DATADIR}/${PN}\" \ + SYSTEM="\"linux\"" \ + STRIP=true \ + DATADIR="${GAMES_DATADIR}/${PN}" \ cdogs || die "emake failed" } src_install() { - emake DESTDIR=\"${D}\" \ - BINDIR=\"${GAMES_BINDIR}\" \ - DATADIR=\"${GAMES_DATADIR}/${PN}\" \ + emake DESTDIR="${D}" \ + BINDIR="${GAMES_BINDIR}" \ + DATADIR="${GAMES_DATADIR}/${PN}" \ install || die "emake install failed" newicon ../data/cdogs_icon.png ${PN}.png - make_desktop_entry "cdogs -fullscreen" ${PN} ${PN}.png - - cd ../doc - dodoc README AUTHORS ChangeLog README_DATA TODO original_readme.txt - + dodoc ../doc/{README,AUTHORS,ChangeLog,README_DATA,TODO,original_readme.txt} + make_desktop_entry "cdogs -fullscreen" ${PN} prepgamesdirs } |