blob: 16bc512be6951d3e54e6751baf03aba8887be5f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-gtk-games/ggz-gtk-games-0.0.5.ebuild,v 1.7 2006/03/24 16:30:07 wolf31o2 Exp $
DESCRIPTION="These are the gtk versions of the games made by GGZ Gaming Zone"
HOMEPAGE="http://ggz.sourceforge.net/"
SRC_URI="mirror://sourceforge/ggz/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc"
IUSE=""
DEPEND="~games-board/ggz-gtk-client-0.0.5"
src_compile() {
econf || die "econf failed"
# we need to remove some /usr-paths that ggz-config puts into in
# the makefile. ugly. :/
sed -e "s|^ggzdatadir = /|ggzdatadir = ${D}|" Makefile > Makefile.new
sed -e "s|^ggzexecmoddir = /|ggzexecmoddir = ${D}|" Makefile.new > Makefile
emake || die
}
src_install() {
insinto /etc
doins /etc/ggz.modules
make DESTDIR=${D} install || die
}
|