blob: 7ffa0c3886fd69e5ed15a70c9efafb026e08ca1d (
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
|
# Copyright 1999-2004 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.9.ebuild,v 1.1 2004/12/26 23:09:29 vapier Exp $
DESCRIPTION="These are the gtk versions of the games made by GGZ Gaming Zone"
HOMEPAGE="http://ggz.sourceforge.net/"
SRC_URI="http://ftp.ggzgamingzone.org/pub/ggz/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc ~x86"
IUSE="gtk2"
DEPEND=">=games-board/ggz-gtk-client-${PV}
gtk2? ( =x11-libs/gtk+-2* )
!gtk2? ( =x11-libs/gtk+-1* )"
src_compile() {
myconf="--enable-gtk2"
use gtk2 || myconf="--enable-gtk"
econf ${myconf} || die
make || die
}
src_install() {
make DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog INSTALL NEWS QuickStart.GGZ README* TODO
}
|