/[gentoo-x86]/games-arcade/tuxpuck/tuxpuck-0.8.2-r1.ebuild
Gentoo

Contents of /games-arcade/tuxpuck/tuxpuck-0.8.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Tue Mar 31 16:16:01 2015 UTC (5 years, 4 months ago) by mr_bones_
Branch: MAIN
Changes since 1.10: +2 -2 lines
alpha and sparc are unstable

(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-arcade/tuxpuck/tuxpuck-0.8.2-r1.ebuild,v 1.10 2015/01/07 14:01:27 tupone Exp $
4
5 EAPI=5
6 inherit eutils games
7
8 DESCRIPTION="Hover hockey"
9 HOMEPAGE="http://home.no.net/munsuun/tuxpuck/"
10 SRC_URI="http://home.no.net/munsuun/tuxpuck/files/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~alpha amd64 ppc ~sparc x86 ~x86-fbsd"
15 IUSE=""
16
17 RDEPEND="media-libs/libsdl
18 media-libs/libpng
19 virtual/jpeg
20 media-libs/libvorbis"
21 DEPEND="${RDEPEND}
22 media-libs/freetype:2"
23
24 src_prepare() {
25 # Bug #376741 - Make unpack call compatible with both
26 # PMS and <sys-apps/portage-2.1.10.10.
27 cd man || die
28 unpack ./${PN}.6.gz
29 cd .. || die
30 sed -i \
31 -e 's/-Werror//' \
32 -e '/^CC/d' \
33 Makefile \
34 utils/Makefile \
35 data/Makefile \
36 || die "sed failed"
37 epatch "${FILESDIR}"/${P}-ldflags.patch \
38 "${FILESDIR}"/${P}-png15.patch \
39 "${FILESDIR}"/${P}-parallel.patch
40 }
41
42 src_compile() {
43 emake -C utils
44 emake -C data
45 emake
46 }
47
48 src_install() {
49 dogamesbin tuxpuck
50 doman man/tuxpuck.6
51 dodoc *.txt
52 doicon data/icons/${PN}.ico
53 make_desktop_entry ${PN} "TuxPuck" /usr/share/pixmaps/${PN}.ico
54 prepgamesdirs
55 }

  ViewVC Help
Powered by ViewVC 1.1.20