diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-05-04 02:21:22 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-05-04 02:21:22 +0000 |
commit | 6032fb792d5f2eca507669cb7cb1db94d0665ec9 (patch) | |
tree | fc1e85879753fadf8299e49381fe359b014a8214 /games-puzzle/gweled | |
parent | Patch no longer needed (Part of 3.3.2) (diff) | |
download | gentoo-2-6032fb792d5f2eca507669cb7cb1db94d0665ec9.tar.gz gentoo-2-6032fb792d5f2eca507669cb7cb1db94d0665ec9.tar.bz2 gentoo-2-6032fb792d5f2eca507669cb7cb1db94d0665ec9.zip |
EAPI=2; tidy
(Portage version: 2.1.6.11/cvs/Linux i686)
Diffstat (limited to 'games-puzzle/gweled')
-rw-r--r-- | games-puzzle/gweled/ChangeLog | 7 | ||||
-rw-r--r-- | games-puzzle/gweled/gweled-0.7.ebuild | 20 |
2 files changed, 15 insertions, 12 deletions
diff --git a/games-puzzle/gweled/ChangeLog b/games-puzzle/gweled/ChangeLog index afbe54e6df34..ef4109968f57 100644 --- a/games-puzzle/gweled/ChangeLog +++ b/games-puzzle/gweled/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-puzzle/gweled -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gweled/ChangeLog,v 1.12 2008/04/07 17:08:38 mr_bones_ Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gweled/ChangeLog,v 1.13 2009/05/04 02:21:21 mr_bones_ Exp $ + + 04 May 2009; Michael Sterrett <mr_bones_@gentoo.org> gweled-0.7.ebuild: + EAPI=2; tidy 07 Apr 2008; Michael Sterrett <mr_bones_@gentoo.org> gweled-0.7.ebuild: fix deps (bug #216540) diff --git a/games-puzzle/gweled/gweled-0.7.ebuild b/games-puzzle/gweled/gweled-0.7.ebuild index f7fad54708d1..2e93371c2046 100644 --- a/games-puzzle/gweled/gweled-0.7.ebuild +++ b/games-puzzle/gweled/gweled-0.7.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gweled/gweled-0.7.ebuild,v 1.5 2008/04/07 17:08:38 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gweled/gweled-0.7.ebuild,v 1.6 2009/05/04 02:21:22 mr_bones_ Exp $ +EAPI=2 inherit flag-o-matic games DESCRIPTION="Bejeweled clone game" @@ -20,27 +21,26 @@ RDEPEND=">=x11-libs/gtk+-2 DEPEND="${RDEPEND} dev-util/pkgconfig" -src_unpack() { - unpack ${A} +src_prepare() { sed -i \ -e "209d" \ -e "368 s/swap_sfx/click_sfx/" \ - "${S}/src/main.c" \ + src/main.c \ || die "sed failed" sed -i \ - -e "/free (message)/ s/free/g_free/" "${S}/src/graphic_engine.c" \ + -e "/free (message)/ s/free/g_free/" \ + src/graphic_engine.c \ || die "sed failed" } -src_compile() { +src_configure() { filter-flags -fomit-frame-pointer append-ldflags -Wl,--export-dynamic - econf --disable-setgid || die - emake || die "emake failed" + econf --disable-setgid } src_install() { - make DESTDIR="${D}" install || die "make install failed" + emake DESTDIR="${D}" install || die "emake install failed" # FIXME: /var/lib is hard-coded. Need to patch this. touch "${D}/var/lib/games/gweled.timed.scores" fperms 664 /var/lib/games/gweled.timed.scores |