summaryrefslogtreecommitdiff
blob: c21d0e6ed162e237eef443d44446034c7187d604 (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
33
34
35
36
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-action/bombermaze/bombermaze-0.6.6.ebuild,v 1.1 2003/09/10 19:29:16 vapier Exp $

DESCRIPTION="Bomberman clone for GNOME"
SRC_URI="http://freesoftware.fsf.org/download/bombermaze/${P}.tar.gz"
HOMEPAGE="http://www.freesoftware.fsf.org/bombermaze/"

KEYWORDS="x86 ppc"
SLOT="0"
LICENSE="GPL-2"
IUSE="nls"

RDEPEND=">=media-libs/gdk-pixbuf-0.8
	>=gnome-base/gnome-libs-1.0"
DEPEND="${RDEPEND}
	nls? ( sys-devel/gettext )"

src_compile() {
	# It normally fails to locate gdk-pixbuf.h
	CFLAGS="${CFLAGS} `gdk-pixbuf-config --cflags`"
	CXXFLAGS="${CXXFLAGS} `gdk-pixbuf-config --cflags`"

	./configure \
		--host=${CHOST} \
		--prefix=/usr \
		--with-included-gettext \
		`use_enable nls` || die "./configure failed"

	emake || die
}

src_install() {
	make prefix=${D}/usr install || die
	dodoc ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS TODO
}