diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-01-06 08:22:01 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-01-06 08:22:01 +0000 |
commit | 2c8a13a0c47975f991cf98638d05bf2dc5d31bfc (patch) | |
tree | 1819da495116afb5c6eec93cfc839ebac55d9845 /games-arcade/lbreakout/lbreakout-010315.ebuild | |
parent | Fixed digest file and added a message for pg-hire. (diff) | |
download | historical-2c8a13a0c47975f991cf98638d05bf2dc5d31bfc.tar.gz historical-2c8a13a0c47975f991cf98638d05bf2dc5d31bfc.tar.bz2 historical-2c8a13a0c47975f991cf98638d05bf2dc5d31bfc.zip |
use games eclass; more error checking/messages
Diffstat (limited to 'games-arcade/lbreakout/lbreakout-010315.ebuild')
-rw-r--r-- | games-arcade/lbreakout/lbreakout-010315.ebuild | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/games-arcade/lbreakout/lbreakout-010315.ebuild b/games-arcade/lbreakout/lbreakout-010315.ebuild index 42714d776a71..42d2598d4691 100644 --- a/games-arcade/lbreakout/lbreakout-010315.ebuild +++ b/games-arcade/lbreakout/lbreakout-010315.ebuild @@ -1,26 +1,30 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/lbreakout/lbreakout-010315.ebuild,v 1.2 2004/01/06 02:55:54 avenj Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/lbreakout/lbreakout-010315.ebuild,v 1.3 2004/01/06 08:21:54 mr_bones_ Exp $ + +inherit games -S=${WORKDIR}/${P} DESCRIPTION="Breakout clone written with the SDL library" -SRC_URI="mirror://sourceforge/lgames/${P}.tar.gz" HOMEPAGE="http://lgames.sourceforge.net" +SRC_URI="mirror://sourceforge/lgames/${P}.tar.gz" + KEYWORDS="x86 ppc ~amd64" -SLOT="0" LICENSE="GPL-2" +SLOT="0" +IUSE="" DEPEND=">=media-libs/libsdl-1.1.5" src_compile() { - ./configure --prefix=/usr --host=${CHOST} || die - make || die + egamesconf --datadir="${GAMES_DATADIR_BASE}" || die + emake || die "emake failed" } src_install() { - dodir /var/lib/games - make DESTDIR=${D} install || die - dodoc AUTHORS COPYING README TODO ChangeLog - insinto /usr/share/doc/lbreakout/html - doins lbreakout/manual/* + # makefile fails to create this directory + dodir /var/lib/games || die "dodir failed" + make DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS README ChangeLog || die "dodoc failed" + dohtml lbreakout/manual/* || die "dohtml faile" + prepgamesdirs } |