| 1 |
mr_bones_ |
1.1 |
# Copyright 1999-2012 Gentoo Foundation |
| 2 |
|
|
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
ago |
1.2 |
# $Header: /var/cvsroot/gentoo-x86/games-arcade/burgerspace/burgerspace-1.9.1.ebuild,v 1.1 2012/08/06 17:03:13 mr_bones_ Exp $ |
| 4 |
mr_bones_ |
1.1 |
|
| 5 |
|
|
EAPI=2 |
| 6 |
|
|
inherit autotools games |
| 7 |
|
|
|
| 8 |
|
|
DESCRIPTION="Clone of the 1982 BurgerTime video game by Data East" |
| 9 |
|
|
HOMEPAGE="http://perso.b2b2c.ca/sarrazip/dev/burgerspace.html" |
| 10 |
|
|
SRC_URI="http://perso.b2b2c.ca/sarrazip/dev/${P}.tar.gz" |
| 11 |
|
|
|
| 12 |
|
|
LICENSE="GPL-2" |
| 13 |
|
|
SLOT="0" |
| 14 |
ago |
1.2 |
KEYWORDS="amd64 ~ppc ~x86 ~x86-fbsd" |
| 15 |
mr_bones_ |
1.1 |
IUSE="network" |
| 16 |
|
|
RESTRICT="test" # doesn't really test anything |
| 17 |
|
|
|
| 18 |
|
|
RDEPEND=">=dev-games/flatzebra-0.1.6" |
| 19 |
|
|
DEPEND="${RDEPEND} |
| 20 |
|
|
virtual/pkgconfig" |
| 21 |
|
|
|
| 22 |
|
|
src_prepare() { |
| 23 |
|
|
sed -i \ |
| 24 |
|
|
-e "/^pkgsounddir/ s:sounds.*:\$(PACKAGE)/sounds:" \ |
| 25 |
|
|
-e "/^desktopentrydir/ s:=.*:=/usr/share/applications:" \ |
| 26 |
|
|
-e "/^pixmapdir/ s:=.*:=/usr/share/pixmaps:" \ |
| 27 |
|
|
src/Makefile.am \ |
| 28 |
|
|
|| die "sed failed" |
| 29 |
|
|
sed -i \ |
| 30 |
|
|
-e "/Categories/s:Application;::" \ |
| 31 |
|
|
-e "/Icon/s:\..*::" \ |
| 32 |
|
|
-e "/Terminal/s:0:false:" \ |
| 33 |
|
|
src/burgerspace.desktop.in \ |
| 34 |
|
|
|| die "sed failed" |
| 35 |
|
|
eautoreconf |
| 36 |
|
|
} |
| 37 |
|
|
|
| 38 |
|
|
src_configure() { |
| 39 |
|
|
egamesconf \ |
| 40 |
|
|
$(use_with network) |
| 41 |
|
|
} |
| 42 |
|
|
|
| 43 |
|
|
src_install() { |
| 44 |
|
|
emake -C src DESTDIR="${D}" install || die "emake install failed" |
| 45 |
|
|
doman doc/${PN}.6 |
| 46 |
|
|
dodoc AUTHORS NEWS README THANKS |
| 47 |
|
|
prepgamesdirs |
| 48 |
|
|
} |