From 3f7527d6b5fda1677927ef6f8b7cf9ef1bde6eab Mon Sep 17 00:00:00 2001 From: Tristan Heaven Date: Wed, 4 Oct 2006 00:42:01 +0000 Subject: Use autotools eclass, bug #149960 (Portage version: 2.1.2_pre2-r2) --- games-puzzle/ltris/ChangeLog | 7 +++++-- games-puzzle/ltris/files/digest-ltris-1.0.11 | 2 ++ games-puzzle/ltris/ltris-1.0.11.ebuild | 18 ++++++++++-------- 3 files changed, 17 insertions(+), 10 deletions(-) (limited to 'games-puzzle/ltris') diff --git a/games-puzzle/ltris/ChangeLog b/games-puzzle/ltris/ChangeLog index 7f18413534df..68eacf0656c6 100644 --- a/games-puzzle/ltris/ChangeLog +++ b/games-puzzle/ltris/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-puzzle/ltris -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ltris/ChangeLog,v 1.16 2006/02/09 00:47:44 tove Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ltris/ChangeLog,v 1.17 2006/10/04 00:42:01 nyhm Exp $ + + 04 Oct 2006; Tristan Heaven ltris-1.0.11.ebuild: + Use autotools eclass, bug #149960 10 Dec 2005; Simon Stelling ltris-1.0.11.ebuild: stable on amd64 diff --git a/games-puzzle/ltris/files/digest-ltris-1.0.11 b/games-puzzle/ltris/files/digest-ltris-1.0.11 index ddfb9546bf61..930d0d120655 100644 --- a/games-puzzle/ltris/files/digest-ltris-1.0.11 +++ b/games-puzzle/ltris/files/digest-ltris-1.0.11 @@ -1 +1,3 @@ MD5 412ecd9b7577a5bbcb76e19b5397391c ltris-1.0.11.tar.gz 808214 +RMD160 df45e4a76e8c82066da79b9624d4b0d820409194 ltris-1.0.11.tar.gz 808214 +SHA256 db4ad3edbce8061b36ffd2343aed56cf5c9eaa3d98f138533613ffe9a42d1d19 ltris-1.0.11.tar.gz 808214 diff --git a/games-puzzle/ltris/ltris-1.0.11.ebuild b/games-puzzle/ltris/ltris-1.0.11.ebuild index b9e42f6d6ecf..79538b593068 100644 --- a/games-puzzle/ltris/ltris-1.0.11.ebuild +++ b/games-puzzle/ltris/ltris-1.0.11.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ltris/ltris-1.0.11.ebuild,v 1.5 2005/12/10 12:37:45 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ltris/ltris-1.0.11.ebuild,v 1.6 2006/10/04 00:42:01 nyhm Exp $ -inherit eutils games +WANT_AUTOCONF="latest" +WANT_AUTOMAKE="latest" +inherit autotools eutils games DESCRIPTION="very polished Tetris clone" HOMEPAGE="http://lgames.sourceforge.net/" @@ -13,11 +15,11 @@ SLOT="0" KEYWORDS="amd64 ppc sparc x86" IUSE="nls" -RDEPEND=">=media-libs/libsdl-1.1.5 +RDEPEND="media-libs/libsdl media-libs/sdl-mixer - nls? ( sys-devel/gettext )" + nls? ( virtual/libintl )" DEPEND="${RDEPEND} - nls? ( sys-devel/autoconf )" + nls? ( sys-devel/gettext )" src_unpack() { unpack "${A}" @@ -31,7 +33,7 @@ src_unpack() { -e '/^localedir/s:$datadir:/usr/share:' \ configure.in \ || die "sed failed" - aclocal && automake -a -c && autoconf || die "autotools failed" + AT_M4DIR=m4 eautoreconf fi } @@ -44,7 +46,7 @@ src_compile() { } src_install() { - make DESTDIR="${D}" install || die "make install failed" + emake DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS ChangeLog README TODO newicon icons/ltris48.xpm ${PN}.xpm make_desktop_entry ltris LTris ${PN}.xpm -- cgit v1.2.3-65-gdbad