|
|
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 |
# $Header: /var/cvsroot/gentoo-x86/games-fps/quake2-icculus/quake2-icculus-0.16.1.ebuild,v 1.13 2006/05/06 10:15:39 tupone Exp $ | # $Header: /var/cvsroot/gentoo-x86/games-fps/quake2-icculus/quake2-icculus-0.16.1.ebuild,v 1.13 2006/05/06 10:15:39 tupone Exp $ |
| |
inherit eutils games |
inherit eutils games toolchain-funcs |
| |
MY_P="quake2-r${PV}" | MY_P="quake2-r${PV}" |
DESCRIPTION="The icculus.org linux port of iD's quake2 engine" | DESCRIPTION="The icculus.org linux port of iD's quake2 engine" |
|
|
virtual/x11 | virtual/x11 |
) ) | ) ) |
alsa? ( media-libs/alsa-lib ) | alsa? ( media-libs/alsa-lib ) |
arts? ( kde-base/arts )" |
arts? ( kde-base/arts ) |
|
media-libs/jpeg" |
DEPEND="${RDEPEND} | DEPEND="${RDEPEND} |
X? ( || ( | X? ( || ( |
( x11-proto/xproto x11-proto/xextproto x11-proto/xf86dgaproto x11-proto/xf86vidmodeproto ) | ( x11-proto/xproto x11-proto/xextproto x11-proto/xf86dgaproto x11-proto/xf86vidmodeproto ) |
|
|
DEFAULT_BASEDIR="${GAMES_DATADIR}/quake2" \ | DEFAULT_BASEDIR="${GAMES_DATADIR}/quake2" \ |
DEFAULT_LIBDIR="${GAMES_LIBDIR}/${PN}${libsuffix}" \ | DEFAULT_LIBDIR="${GAMES_LIBDIR}/${PN}${libsuffix}" \ |
OPT_CFLAGS="${CFLAGS}" \ | OPT_CFLAGS="${CFLAGS}" \ |
|
CC="$(tc-getCC)" \ |
|| die "make failed" | || die "make failed" |
# now we save the build dir ... except for the object files ... | # now we save the build dir ... except for the object files ... |
rm release*/*/*.o | rm release*/*/*.o |