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.
54 lines
1.3 KiB
54 lines
1.3 KiB
6 years ago
|
# Copyright 1999-2018 Gentoo Foundation
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
6 years ago
|
EAPI=6
|
||
|
inherit autotools desktop
|
||
9 years ago
|
|
||
6 years ago
|
DESCRIPTION="A funny multiplayer game about cute little fluffy bunnies"
|
||
13 years ago
|
HOMEPAGE="http://www.jumpbump.mine.nu/"
|
||
9 years ago
|
SRC_URI="
|
||
|
http://www.jumpbump.mine.nu/port/${P}.tar.gz
|
||
13 years ago
|
mirror://gentoo/${P}-autotool.patch.bz2"
|
||
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
7 years ago
|
KEYWORDS="~amd64 ~x86"
|
||
13 years ago
|
IUSE="X fbcon kde svga tk +music"
|
||
|
|
||
9 years ago
|
DEPEND="
|
||
13 years ago
|
media-libs/sdl-mixer
|
||
10 years ago
|
media-libs/libsdl[sound,joystick,video]
|
||
9 years ago
|
media-libs/sdl-net
|
||
|
X? ( x11-libs/libXext )
|
||
9 years ago
|
kde? ( kde-apps/kdialog )
|
||
9 years ago
|
music? ( media-libs/sdl-mixer[mod] )
|
||
|
"
|
||
13 years ago
|
RDEPEND="${DEPEND}
|
||
|
tk? (
|
||
9 years ago
|
dev-lang/tcl:0=
|
||
|
dev-lang/tk:0=
|
||
6 years ago
|
)
|
||
|
"
|
||
13 years ago
|
|
||
|
src_prepare() {
|
||
6 years ago
|
default
|
||
|
eapply ../${P}-autotool.patch
|
||
13 years ago
|
rm -f configure
|
||
|
eautoreconf
|
||
|
sed -i \
|
||
6 years ago
|
-e "/PREFIX/ s:PREFIX.*:\"/usr/share/${PN}/jumpbump.dat\":" \
|
||
13 years ago
|
globals.h \
|
||
|
|| die "sed failed"
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
6 years ago
|
default
|
||
13 years ago
|
# clean up a bit. It leaves a dep on Xdialog but ignore that.
|
||
|
use fbcon || rm -f "${D}${GAMES_BINDIR}/jumpnbump.fbcon"
|
||
|
use kde || rm -f "${D}${GAMES_BINDIR}/jumpnbump-kdialog"
|
||
|
use svga || rm -f "${D}${GAMES_BINDIR}/jumpnbump.svgalib"
|
||
|
use tk || rm -f "${D}${GAMES_BINDIR}/jnbmenu.tcl"
|
||
|
newicon sdl/jumpnbump64.xpm ${PN}.xpm
|
||
|
make_desktop_entry ${PN} "Jump n Bump"
|
||
|
}
|