/[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 - (show 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 # Copyright 1999-2008 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-r1.ebuild,v 1.2 2008/01/05 04:04:14 mr_bones_ Exp $
4
5 inherit eutils games
6
7 DESCRIPTION="Hover hockey"
8 HOMEPAGE="http://home.no.net/munsuun/tuxpuck/"
9 SRC_URI="http://home.no.net/munsuun/${PN}/files/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="alpha amd64 ppc sparc x86 ~x86-fbsd"
14 IUSE=""
15
16 RDEPEND="media-libs/libsdl
17 media-libs/libpng
18 media-libs/jpeg
19 media-libs/libvorbis"
20 DEPEND="${RDEPEND}
21 =media-libs/freetype-2*"
22
23 src_unpack() {
24 unpack ${A}
25 cd "${S}"
26 unpack ./man/${PN}.6.gz
27 }
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