/[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.8 Revision 1.9
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.8 2011/09/14 15:46:53 tupone Exp $ 3# $Header: /var/cvsroot/gentoo-x86/games-arcade/tuxpuck/tuxpuck-0.8.2-r1.ebuild,v 1.9 2015/01/05 20:18:16 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"
37 epatch "${FILESDIR}"/${P}-ldflags.patch \ 37 epatch "${FILESDIR}"/${P}-ldflags.patch \
38 "${FILESDIR}"/${P}-png15.patch 38 "${FILESDIR}"/${P}-png15.patch
39} 39}
40 40
41src_compile() { 41src_compile() {
42 emake -C utils || die 42 emake -C utils
43 # Note that the Makefiles for tuxpuck are buggy so -j1 is used. 43 # Note that the Makefiles for tuxpuck are buggy so -j1 is used.
44 emake -j1 -C data || die 44 emake -j1 -C data
45 emake || die 45 emake
46} 46}
47 47
48src_install() { 48src_install() {
49 dogamesbin tuxpuck || die "dogamesbin failed" 49 dogamesbin tuxpuck
50 doman man/tuxpuck.6 50 doman man/tuxpuck.6
51 dodoc *.txt 51 dodoc *.txt
52 doicon data/icons/${PN}.ico 52 doicon data/icons/${PN}.ico
53 make_desktop_entry ${PN} "TuxPuck" /usr/share/pixmaps/${PN}.ico 53 make_desktop_entry ${PN} "TuxPuck" /usr/share/pixmaps/${PN}.ico
54 prepgamesdirs 54 prepgamesdirs

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.20