summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-action/glaxium/glaxium-0.5.ebuild')
-rw-r--r--games-action/glaxium/glaxium-0.5.ebuild37
1 files changed, 14 insertions, 23 deletions
diff --git a/games-action/glaxium/glaxium-0.5.ebuild b/games-action/glaxium/glaxium-0.5.ebuild
index acec731e0c3c..6da846da7432 100644
--- a/games-action/glaxium/glaxium-0.5.ebuild
+++ b/games-action/glaxium/glaxium-0.5.ebuild
@@ -1,26 +1,24 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/glaxium/glaxium-0.5.ebuild,v 1.15 2006/09/26 19:40:46 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/glaxium/glaxium-0.5.ebuild,v 1.16 2007/02/03 08:37:22 nyhm Exp $
-inherit eutils flag-o-matic toolchain-funcs games
+inherit autotools eutils games
DESCRIPTION="OpenGL-based space-ship shoot-em-up style game"
HOMEPAGE="http://xhosxe.free.fr/glaxium/"
-SRC_URI="http://xhosxe.free.fr/glaxium/glaxium_${PV}.tar.gz"
+SRC_URI="http://xhosxe.free.fr/${PN}/${PN}_${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
-DEPEND=">=media-libs/libsdl-1.1.5
- >=media-libs/sdl-mixer-1.2.4
- x11-libs/libXmu
- x11-libs/libXi
+DEPEND="media-libs/libsdl
+ media-libs/sdl-mixer
virtual/opengl
virtual/glu
virtual/glut
- >=media-libs/libpng-1.0.0"
+ media-libs/libpng"
S=${WORKDIR}/${PN}_${PV}
@@ -30,24 +28,17 @@ src_unpack() {
if has_version x11-drivers/nvidia-legacy-drivers || \
has_version x11-drivers/nvidia-drivers
then
- epatch "${FILESDIR}/${P}-glx.patch"
+ epatch "${FILESDIR}"/${P}-glx.patch
fi
- epatch "${FILESDIR}/${PV}-rc.patch" \
- "${FILESDIR}/${P}-gcc41.patch"
-}
-
-src_compile() {
- egamesconf \
- --datadir="${GAMES_DATADIR_BASE}" || die
- emake || die "emake failed"
+ epatch \
+ "${FILESDIR}"/${PV}-rc.patch \
+ "${FILESDIR}"/${P}-gcc41.patch \
+ "${FILESDIR}"/${P}-build.patch
+ eautoreconf
}
src_install() {
- dodir "${GAMES_BINDIR}"
- egamesinstall \
- exec_prefix="${D}/${GAMES_PREFIX}" \
- datadir="${D}/${GAMES_DATADIR_BASE}" \
- || die
+ emake DESTDIR="${D}" install || die "emake install failed"
dodoc README.txt CHANGES.txt
prepgamesdirs
}