summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-10-04 20:07:44 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-10-04 20:07:44 +0000
commit7b9d3d073c57705fb9f2b3e4fa89ce941ccd1d75 (patch)
tree156307aa98deff1e4f4f22e03965c8e9ec5d1715 /games-puzzle/gweled/gweled-0.7.ebuild
parentRemove COPYING from docs (diff)
downloadhistorical-7b9d3d073c57705fb9f2b3e4fa89ce941ccd1d75.tar.gz
historical-7b9d3d073c57705fb9f2b3e4fa89ce941ccd1d75.tar.bz2
historical-7b9d3d073c57705fb9f2b3e4fa89ce941ccd1d75.zip
version bump
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'games-puzzle/gweled/gweled-0.7.ebuild')
-rw-r--r--games-puzzle/gweled/gweled-0.7.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/games-puzzle/gweled/gweled-0.7.ebuild b/games-puzzle/gweled/gweled-0.7.ebuild
new file mode 100644
index 000000000000..c81e5da4f4ab
--- /dev/null
+++ b/games-puzzle/gweled/gweled-0.7.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2005 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.1 2005/10/04 20:07:44 mr_bones_ Exp $
+
+inherit flag-o-matic games
+
+DESCRIPTION="Bejeweled clone game"
+HOMEPAGE="http://sebdelestaing.free.fr/gweled/"
+SRC_URI="http://sebdelestaing.free.fr/gweled/Release/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND=">=x11-libs/gtk+-2
+ media-libs/libmikmod
+ >=gnome-base/librsvg-2
+ >=gnome-base/libgnomeui-2"
+
+src_unpack() {
+ unpack ${A}
+ sed -i \
+ -e "209d" \
+ -e "368 s/swap_sfx/click_sfx/" \
+ "${S}/src/main.c" \
+ || die "sed failed"
+ sed -i \
+ -e "/free (message)/ s/free/g_free/" "${S}/src/graphic_engine.c" \
+ || die "sed failed"
+}
+
+src_compile() {
+ filter-flags -fomit-frame-pointer
+ econf --disable-setgid || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make 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
+ gamesowners -R "${D}/var/lib/games/"
+ dodoc AUTHORS NEWS
+ prepgamesdirs
+}