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.
37 lines
736 B
37 lines
736 B
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 desktop
|
||
13 years ago
|
|
||
|
DESCRIPTION="The classic word guessing game"
|
||
|
HOMEPAGE="http://www.shiftygames.com/hangman/hangman.html"
|
||
|
SRC_URI="http://www.shiftygames.com/${PN}/${P}.tar.gz"
|
||
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
7 years ago
|
KEYWORDS="~amd64 ~x86"
|
||
13 years ago
|
IUSE=""
|
||
|
|
||
|
DEPEND="!games-misc/bsd-games
|
||
|
media-libs/libsdl
|
||
|
media-libs/sdl-mixer
|
||
|
media-libs/sdl-image
|
||
|
media-libs/sdl-ttf"
|
||
|
RDEPEND="${DEPEND}
|
||
|
sys-apps/miscfiles"
|
||
|
|
||
|
src_prepare() {
|
||
6 years ago
|
default
|
||
13 years ago
|
sed -i \
|
||
|
-e 's/inline void SE_CheckEvents/void SE_CheckEvents/' \
|
||
|
src/hangman.c \
|
||
|
|| die "sed failed"
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
9 years ago
|
default
|
||
13 years ago
|
newicon pics/noose.png ${PN}.png
|
||
|
make_desktop_entry ${PN} Hangman
|
||
|
}
|