/[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.3 - (hide annotations) (download)
Mon Jan 21 08:30:45 2008 UTC (12 years, 6 months ago) by nyhm
Branch: MAIN
Changes since 1.2: +9 -7 lines
Add freetype-2 to DEPEND, bug #206266
(Portage version: 2.1.4)

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 nyhm 1.3 # $Header: /var/cvsroot/gentoo-x86/games-arcade/tuxpuck/tuxpuck-0.8.2-r1.ebuild,v 1.2 2008/01/05 04:04:14 mr_bones_ Exp $
4 tupone 1.1
5     inherit eutils games
6    
7     DESCRIPTION="Hover hockey"
8 nyhm 1.3 HOMEPAGE="http://home.no.net/munsuun/tuxpuck/"
9     SRC_URI="http://home.no.net/munsuun/${PN}/files/${P}.tar.gz"
10 tupone 1.1
11     LICENSE="GPL-2"
12     SLOT="0"
13 nyhm 1.3 KEYWORDS="alpha amd64 ppc sparc x86 ~x86-fbsd"
14 tupone 1.1 IUSE=""
15    
16 nyhm 1.3 RDEPEND="media-libs/libsdl
17 tupone 1.1 media-libs/libpng
18 mr_bones_ 1.2 media-libs/jpeg
19 nyhm 1.3 media-libs/libvorbis"
20     DEPEND="${RDEPEND}
21     =media-libs/freetype-2*"
22 tupone 1.1
23     src_unpack() {
24     unpack ${A}
25     cd "${S}"
26 nyhm 1.3 unpack ./man/${PN}.6.gz
27 tupone 1.1 }
28    
29     src_compile() {
30     # Note that the Makefiles for tuxpuck are buggy so -j1 is used.
31     emake -j1 CPP_FLAGS="${CPPFLAGS} -I/usr/include/libpng12" || die
32     }
33    
34     src_install() {
35     dogamesbin tuxpuck || die "dogamesbin failed"
36     doman man/tuxpuck.6
37     dodoc *.txt
38     doicon data/icons/${PN}.ico
39     make_desktop_entry ${PN} "TuxPuck" /usr/share/pixmaps/${PN}.ico
40     prepgamesdirs
41     }

  ViewVC Help
Powered by ViewVC 1.1.20