From 5fcd8e9ea34ac55fe5235e877fe5044779a86943 Mon Sep 17 00:00:00 2001 From: Tristan Heaven Date: Wed, 25 Jul 2007 00:10:09 +0000 Subject: games_pkg_setup (Portage version: 2.1.3_rc9) --- games-arcade/ultrastar-ng/ultrastar-ng-0.1.4.ebuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'games-arcade') diff --git a/games-arcade/ultrastar-ng/ultrastar-ng-0.1.4.ebuild b/games-arcade/ultrastar-ng/ultrastar-ng-0.1.4.ebuild index 62e1469dd587..7f6c44ad6e9f 100644 --- a/games-arcade/ultrastar-ng/ultrastar-ng-0.1.4.ebuild +++ b/games-arcade/ultrastar-ng/ultrastar-ng-0.1.4.ebuild @@ -1,12 +1,11 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/ultrastar-ng/ultrastar-ng-0.1.4.ebuild,v 1.2 2007/07/06 21:26:33 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/ultrastar-ng/ultrastar-ng-0.1.4.ebuild,v 1.3 2007/07/25 00:10:09 nyhm Exp $ inherit eutils games MY_PN=UltraStar-ng MY_P=${MY_PN}-${PV} - DESCRIPTION="SingStar GPL clone" HOMEPAGE="http://sourceforge.net/projects/ultrastar-ng/" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" @@ -31,9 +30,10 @@ RDEPEND=">=sci-libs/fftw-3 DEPEND="${RDEPEND} dev-util/pkgconfig" -S="${WORKDIR}/${MY_P}" +S=${WORKDIR}/${MY_P} pkg_setup() { + games_pkg_setup if use opengl && ! built_with_use media-libs/libsdl opengl; then eerror "opengl flag set, but libsdl wasn't build with opengl support" fi @@ -61,8 +61,8 @@ src_compile() { } src_install() { - make DESTDIR="${D}" install || die "make install failed" - keepdir ${GAMES_DATADIR}/${PN}/songs + emake DESTDIR="${D}" install || die "emake install failed" + keepdir "${GAMES_DATADIR}"/${PN}/songs mv "${D}${GAMES_DATADIR}"/{applications,pixmaps} "${D}"/usr/share/ dodoc AUTHORS ChangeLog README TODO prepgamesdirs -- cgit v1.2.3-65-gdbad