You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-misc/gnurobots/gnurobots-1.2.0.ebuild

43 lines
975 B

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-misc/gnurobots/gnurobots-1.2.0.ebuild,v 1.10 2011/03/23 07:34:49 ssuominen Exp $
EAPI=2
inherit eutils autotools games
DESCRIPTION="construct a program for a little robot then set him loose
and watch him explore a world on his own"
HOMEPAGE="http://www.gnu.org/directory/games/gnurobots.html"
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ppc x86"
IUSE=""
RESTRICT="test"
DEPEND="x11-libs/vte:0
dev-scheme/guile[deprecated]"
src_prepare() {
epatch "${FILESDIR}"/${P}-ldflags.patch
sed -i \
-e 's/-pedantic-errors -Werror//' \
configure.ac \
|| die "sed failed"
eautoreconf
}
src_install() {
dodoc AUTHORS \
ChangeLog \
NEWS \
README \
THANKS \
TODO \
doc/Robots-HOWTO \
doc/contrib
emake DESTDIR="${D}" install || die "emake install failed"
prepgamesdirs
}