summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-01-06 08:22:01 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-01-06 08:22:01 +0000
commit89c125755ba22592c0e375e676666c754bced69b (patch)
treef50236f0e4135f6cb8a6da55504f7b3d4613edc7 /games-arcade/lbreakout
parentFixed digest file and added a message for pg-hire. (Manifest recommit) (diff)
downloadgentoo-2-89c125755ba22592c0e375e676666c754bced69b.tar.gz
gentoo-2-89c125755ba22592c0e375e676666c754bced69b.tar.bz2
gentoo-2-89c125755ba22592c0e375e676666c754bced69b.zip
use games eclass; more error checking/messages
Diffstat (limited to 'games-arcade/lbreakout')
-rw-r--r--games-arcade/lbreakout/ChangeLog6
-rw-r--r--games-arcade/lbreakout/Manifest4
-rw-r--r--games-arcade/lbreakout/lbreakout-010315.ebuild26
3 files changed, 22 insertions, 14 deletions
diff --git a/games-arcade/lbreakout/ChangeLog b/games-arcade/lbreakout/ChangeLog
index f9da0a8a37d7..043fd5d36c1a 100644
--- a/games-arcade/lbreakout/ChangeLog
+++ b/games-arcade/lbreakout/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/lbreakout
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/lbreakout/ChangeLog,v 1.3 2004/01/06 02:55:54 avenj Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/lbreakout/ChangeLog,v 1.4 2004/01/06 08:21:54 mr_bones_ Exp $
+
+ 06 Jan 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ lbreakout-010315.ebuild:
+ use games eclass; more error checking/messages
05 Jan 2004; Jon Portnoy <avenj@gentoo.org> lbreakout-010315.ebuild :
AMD64 keywords.
diff --git a/games-arcade/lbreakout/Manifest b/games-arcade/lbreakout/Manifest
index 01e4ddc01864..6b312b9ca8fd 100644
--- a/games-arcade/lbreakout/Manifest
+++ b/games-arcade/lbreakout/Manifest
@@ -1,4 +1,4 @@
-MD5 6697ca19a732e6dfb96ff65abb62106a ChangeLog 1020
-MD5 ff3b68b8b668e6c519158efa439fa604 lbreakout-010315.ebuild 758
+MD5 8aefbf22498139d4fa44eaa4e32c71cf ChangeLog 1156
+MD5 58cccefd072cb3c05e10cf064f8a09a4 lbreakout-010315.ebuild 902
MD5 b244cf1c41a78cacb62296d573935c07 metadata.xml 245
MD5 a081495892b7b316d254bf2ee43bed6b files/digest-lbreakout-010315 68
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
}