diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2005-09-16 01:22:23 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2005-09-16 01:22:23 +0000 |
commit | 45a1112e9d793b7cbb9792c2ec4b9e59a7e3a187 (patch) | |
tree | 314c643abe19af56b42d9d3277f539a47fd81318 /games-fps/wolfgl/wolfgl-0.93-r1.ebuild | |
parent | Mark 0.9.7 stable on alpha (diff) | |
download | gentoo-2-45a1112e9d793b7cbb9792c2ec4b9e59a7e3a187.tar.gz gentoo-2-45a1112e9d793b7cbb9792c2ec4b9e59a7e3a187.tar.bz2 gentoo-2-45a1112e9d793b7cbb9792c2ec4b9e59a7e3a187.zip |
needs app-arch/unzip; tidy
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'games-fps/wolfgl/wolfgl-0.93-r1.ebuild')
-rw-r--r-- | games-fps/wolfgl/wolfgl-0.93-r1.ebuild | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/games-fps/wolfgl/wolfgl-0.93-r1.ebuild b/games-fps/wolfgl/wolfgl-0.93-r1.ebuild index d370ff6c123c..dd0968c5d291 100644 --- a/games-fps/wolfgl/wolfgl-0.93-r1.ebuild +++ b/games-fps/wolfgl/wolfgl-0.93-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/wolfgl/wolfgl-0.93-r1.ebuild,v 1.4 2005/06/10 13:08:55 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/wolfgl/wolfgl-0.93-r1.ebuild,v 1.5 2005/09/16 01:22:23 mr_bones_ Exp $ #ECVS_SERVER="cvs.sourceforge.net:/cvsroot/wolfgl" #ECVS_MODULE="wolfgl" @@ -15,33 +15,36 @@ SRC_URI="mirror://gentoo/${P}.tbz2 # mirror://sourceforge/wolfgl/wolfglx-wl6-${PV}.zip # mirror://sourceforge/wolfgl/wolfglx-sod-${PV}.zip -KEYWORDS="~ppc x86" LICENSE="GPL-2" SLOT="0" +KEYWORDS="~ppc x86" IUSE="" -DEPEND="virtual/opengl +RDEPEND="virtual/opengl virtual/x11" +DEPEND="${RDEPEND} + app-arch/unzip" src_unpack() { unpack ${A} - cd ${S} - epatch ${FILESDIR}/${PV}-gcc.patch - epatch ${FILESDIR}/${PV}-sample-rate.patch - epatch ${FILESDIR}/${PV}-sprite.patch + cd "${S}" + epatch "${FILESDIR}"/${PV}-gcc.patch \ + "${FILESDIR}"/${PV}-sample-rate.patch \ + "${FILESDIR}"/${PV}-sprite.patch } src_compile() { - make CFLAGS="${CFLAGS}" DATADIR=${GAMES_DATADIR}/${PN} || die + emake -j1 CFLAGS="${CFLAGS}" DATADIR="${GAMES_DATADIR}"/${PN} \ + || die "emake failed" } src_install() { - newgamesbin linux/SDM/wolfgl wolfgl-sdm - newgamesbin linux/SOD/wolfgl wolfgl-sod - newgamesbin linux/WL1/wolfgl wolfgl-wl1 - newgamesbin linux/WL6/wolfgl wolfgl-wl6 - insinto ${GAMES_DATADIR}/${PN} - doins ${WORKDIR}/*.{sdm,wl1} + newgamesbin linux/SDM/wolfgl wolfgl-sdm || die + newgamesbin linux/SOD/wolfgl wolfgl-sod || die + newgamesbin linux/WL1/wolfgl wolfgl-wl1 || die + newgamesbin linux/WL6/wolfgl wolfgl-wl6 || die + insinto "${GAMES_DATADIR}"/${PN} + doins "${WORKDIR}"/*.{sdm,wl1} || die prepgamesdirs } |