diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-03-08 22:17:34 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-03-08 22:17:34 +0000 |
commit | 8b9ce1e98deb6906e8406c0971800d93e85b2994 (patch) | |
tree | f32b978347ddf0b569d4d47af2b93a511f912474 /games-sports | |
parent | EAPI=2; update HOMEPAGE (diff) | |
download | gentoo-2-8b9ce1e98deb6906e8406c0971800d93e85b2994.tar.gz gentoo-2-8b9ce1e98deb6906e8406c0971800d93e85b2994.tar.bz2 gentoo-2-8b9ce1e98deb6906e8406c0971800d93e85b2994.zip |
EAPI=2; update HOMEPAGE and SRC_URI (bug #308425)
(Portage version: 2.1.7.17/cvs/Linux i686)
Diffstat (limited to 'games-sports')
-rw-r--r-- | games-sports/foobillard/ChangeLog | 8 | ||||
-rw-r--r-- | games-sports/foobillard/foobillard-3.0a.ebuild | 19 |
2 files changed, 14 insertions, 13 deletions
diff --git a/games-sports/foobillard/ChangeLog b/games-sports/foobillard/ChangeLog index c93a56a3a5df..bafbed64e5be 100644 --- a/games-sports/foobillard/ChangeLog +++ b/games-sports/foobillard/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-sports/foobillard -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/foobillard/ChangeLog,v 1.15 2008/12/07 11:28:02 mr_bones_ Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-sports/foobillard/ChangeLog,v 1.16 2010/03/08 22:17:34 mr_bones_ Exp $ + + 08 Mar 2010; Michael Sterrett <mr_bones_@gentoo.org> + foobillard-3.0a.ebuild: + EAPI=2; update HOMEPAGE and SRC_URI (bug #308425) 07 Dec 2008; Michael Sterrett <mr_bones_@gentoo.org> +files/foobillard-3.0a-as-needed.patch, foobillard-3.0a.ebuild: diff --git a/games-sports/foobillard/foobillard-3.0a.ebuild b/games-sports/foobillard/foobillard-3.0a.ebuild index 7fac0faf09df..985f004e16f1 100644 --- a/games-sports/foobillard/foobillard-3.0a.ebuild +++ b/games-sports/foobillard/foobillard-3.0a.ebuild @@ -1,12 +1,13 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/foobillard/foobillard-3.0a.ebuild,v 1.12 2008/12/07 11:28:02 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-sports/foobillard/foobillard-3.0a.ebuild,v 1.13 2010/03/08 22:17:34 mr_bones_ Exp $ +EAPI=2 inherit eutils autotools games DESCRIPTION="8ball, 9ball, snooker and carambol game" -HOMEPAGE="http://foobillard.sunsite.dk/" -SRC_URI="http://foobillard.sunsite.dk/dnl/${P}.tar.gz" +HOMEPAGE="http://foobillard.sourceforge.net/" +SRC_URI="mirror://gentoo/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" @@ -24,9 +25,7 @@ RDEPEND="x11-libs/libXaw DEPEND="${RDEPEND} app-admin/eselect-opengl" -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { epatch \ "${FILESDIR}"/${P}-no_nvidia.patch \ "${FILESDIR}"/${P}-fbsd.patch \ @@ -35,7 +34,7 @@ src_unpack() { eautoreconf } -src_compile() { +src_configure() { local myconf [[ "$(eselect opengl show)" == 'nvidia' ]] \ && myconf='--enable-nvidia=yes' \ @@ -45,9 +44,7 @@ src_compile() { --enable-sound \ $(use_enable sdl SDL) \ $(use_enable !sdl glut) \ - ${myconf} \ - || die - emake || die "emake failed" + ${myconf} } src_install() { |