/[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.1 - (hide annotations) (download)
Fri Jun 1 06:18:45 2007 UTC (13 years, 2 months ago) by tupone
Branch: MAIN
Added menu entry. Bug #160257
(Portage version: 2.1.2.7)

1 tupone 1.1 # Copyright 1999-2007 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.ebuild,v 1.8 2007/04/09 21:26:23 welp Exp $
4    
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     >=media-libs/libvorbis-1.0_rc3"
19    
20     src_unpack() {
21     unpack ${A}
22     cd "${S}"
23     gunzip man/tuxpuck.6.gz || die
24     }
25    
26     src_compile() {
27     # Note that the Makefiles for tuxpuck are buggy so -j1 is used.
28     emake -j1 CPP_FLAGS="${CPPFLAGS} -I/usr/include/libpng12" || die
29     }
30    
31     src_install() {
32     dogamesbin tuxpuck || die "dogamesbin failed"
33     doman man/tuxpuck.6
34     dodoc *.txt
35     doicon data/icons/${PN}.ico
36     make_desktop_entry ${PN} "TuxPuck" /usr/share/pixmaps/${PN}.ico
37     prepgamesdirs
38     }

  ViewVC Help
Powered by ViewVC 1.1.20