blob: cd05c372e5738bddf640548ee67d4d7a56c1ec57 (
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
37
38
39
40
41
42
43
|
# Copyright 1999-2006 Gentoo Foundation
# 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.8 2006/10/05 17:05:14 nyhm Exp $
inherit flag-o-matic eutils
DESCRIPTION="Bomberman clone for GNOME"
HOMEPAGE="http://www.freesoftware.fsf.org/bombermaze/"
SRC_URI="http://freesoftware.fsf.org/download/bombermaze/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="nls"
RDEPEND=">=media-libs/gdk-pixbuf-0.8
>=gnome-base/gnome-libs-1.0
nls? ( virtual/libintl )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-gcc.patch \
"${FILESDIR}"/${P}-gcc41.patch
sed -i \
-e 's:destdir=:destdir=$(DESTDIR):' \
po/Makefile.in.in || die "sed po"
}
src_compile() {
# It normally fails to locate gdk-pixbuf.h
append-flags $(gdk-pixbuf-config --cflags)
econf $(use_enable nls) || die "./configure failed"
emake || die "emake failed"
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog NEWS TODO
}
|