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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.7 Revision 1.10
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2015 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 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.7 2011/08/02 18:12:45 zmedico Exp $ 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 4
5EAPI=2 5EAPI=5
6inherit eutils games 6inherit eutils games
7 7
8DESCRIPTION="Hover hockey" 8DESCRIPTION="Hover hockey"
9HOMEPAGE="http://home.no.net/munsuun/tuxpuck/" 9HOMEPAGE="http://home.no.net/munsuun/tuxpuck/"
10SRC_URI="http://home.no.net/munsuun/tuxpuck/files/${P}.tar.gz" 10SRC_URI="http://home.no.net/munsuun/tuxpuck/files/${P}.tar.gz"
32 -e '/^CC/d' \ 32 -e '/^CC/d' \
33 Makefile \ 33 Makefile \
34 utils/Makefile \ 34 utils/Makefile \
35 data/Makefile \ 35 data/Makefile \
36 || die "sed failed" 36 || die "sed failed"
37 epatch "${FILESDIR}"/${P}-ldflags.patch 37 epatch "${FILESDIR}"/${P}-ldflags.patch \
38 "${FILESDIR}"/${P}-png15.patch \
39 "${FILESDIR}"/${P}-parallel.patch
38} 40}
39 41
40src_compile() { 42src_compile() {
41 emake -C utils || die 43 emake -C utils
42 # Note that the Makefiles for tuxpuck are buggy so -j1 is used. 44 emake -C data
43 emake -j1 -C data || die 45 emake
44 emake || die
45} 46}
46 47
47src_install() { 48src_install() {
48 dogamesbin tuxpuck || die "dogamesbin failed" 49 dogamesbin tuxpuck
49 doman man/tuxpuck.6 50 doman man/tuxpuck.6
50 dodoc *.txt 51 dodoc *.txt
51 doicon data/icons/${PN}.ico 52 doicon data/icons/${PN}.ico
52 make_desktop_entry ${PN} "TuxPuck" /usr/share/pixmaps/${PN}.ico 53 make_desktop_entry ${PN} "TuxPuck" /usr/share/pixmaps/${PN}.ico
53 prepgamesdirs 54 prepgamesdirs

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.20