diff options
Diffstat (limited to 'games-arcade/cdogs-sdl/cdogs-sdl-0.3.ebuild')
-rw-r--r-- | games-arcade/cdogs-sdl/cdogs-sdl-0.3.ebuild | 30 |
1 files changed, 15 insertions, 15 deletions
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 } |