/[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.2 - (hide annotations) (download)
Sat Jan 5 04:04:14 2008 UTC (12 years, 7 months ago) by mr_bones_
Branch: MAIN
Changes since 1.1: +3 -2 lines
fix deps for bug #204398
(Portage version: 2.1.3.19)

1 mr_bones_ 1.2 # Copyright 1999-2008 Gentoo Foundation
2 tupone 1.1 # Distributed under the terms of the GNU General Public License v2
3 mr_bones_ 1.2 # $Header: /var/cvsroot/gentoo-x86/games-arcade/tuxpuck/tuxpuck-0.8.2-r1.ebuild,v 1.1 2007/06/01 06:18:45 tupone Exp $
4 tupone 1.1
5     inherit eutils games
6    
7     DESCRIPTION="Hover hockey"
8     HOMEPAGE="http://www.efd.lth.se/~d00jkr/tuxpuck/"
9     SRC_URI="http://www.efd.lth.se/~d00jkr/tuxpuck/${P}.tar.gz"
10    
11     LICENSE="GPL-2"
12     SLOT="0"
13     KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
14     IUSE=""
15    
16     DEPEND=">=media-libs/libsdl-1.1.5
17     media-libs/libpng
18 mr_bones_ 1.2 media-libs/jpeg
19 tupone 1.1 >=media-libs/libvorbis-1.0_rc3"
20    
21     src_unpack() {
22     unpack ${A}
23     cd "${S}"
24     gunzip man/tuxpuck.6.gz || die
25     }
26    
27     src_compile() {
28     # Note that the Makefiles for tuxpuck are buggy so -j1 is used.
29     emake -j1 CPP_FLAGS="${CPPFLAGS} -I/usr/include/libpng12" || die
30     }
31    
32     src_install() {
33     dogamesbin tuxpuck || die "dogamesbin failed"
34     doman man/tuxpuck.6
35     dodoc *.txt
36     doicon data/icons/${PN}.ico
37     make_desktop_entry ${PN} "TuxPuck" /usr/share/pixmaps/${PN}.ico
38     prepgamesdirs
39     }

  ViewVC Help
Powered by ViewVC 1.1.20