# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.6 2002/05/07 03:58:19 drobbins Exp DESCRIPTION="Bomberman clone for GNOME" SRC_URI="http://freesoftware.fsf.org/download/bombermaze/${P}.tar.gz" HOMEPAGE="http://www.freesoftware.fsf.org/bombermaze/" LICENSE="GPL-2" RDEPEND=">=media-libs/gdk-pixbuf-0.8 >=gnome-base/gnome-core-1.0" DEPEND="${RDEPEND} nls? ( sys-devel/gettext )" src_compile() { local myconf myconf="" use nls || myconf="--disable-nls" # 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 \ ${myconf} || die "./configure failed" emake || die } src_install () { # DESTDIR doesn't work quite right make prefix=${D}/usr install || die dodoc ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS TODO }