/[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.4 - (hide annotations) (download)
Fri Feb 27 00:59:09 2009 UTC (11 years, 5 months ago) by mr_bones_
Branch: MAIN
Changes since 1.3: +16 -8 lines
EAPI=2; a bit better compile; remove -Werror for bug #260186
(Portage version: 2.1.6.7/cvs/Linux i686)

1 mr_bones_ 1.4 # Copyright 1999-2009 Gentoo Foundation
2 tupone 1.1 # Distributed under the terms of the GNU General Public License v2
3 mr_bones_ 1.4 # $Header: /var/cvsroot/gentoo-x86/games-arcade/tuxpuck/tuxpuck-0.8.2-r1.ebuild,v 1.3 2008/01/21 08:30:45 nyhm Exp $
4 tupone 1.1
5 mr_bones_ 1.4 EAPI=2
6 tupone 1.1 inherit eutils games
7    
8     DESCRIPTION="Hover hockey"
9 nyhm 1.3 HOMEPAGE="http://home.no.net/munsuun/tuxpuck/"
10 mr_bones_ 1.4 SRC_URI="http://home.no.net/munsuun/tuxpuck/files/${P}.tar.gz"
11 tupone 1.1
12     LICENSE="GPL-2"
13     SLOT="0"
14 nyhm 1.3 KEYWORDS="alpha amd64 ppc sparc x86 ~x86-fbsd"
15 tupone 1.1 IUSE=""
16    
17 nyhm 1.3 RDEPEND="media-libs/libsdl
18 tupone 1.1 media-libs/libpng
19 mr_bones_ 1.2 media-libs/jpeg
20 nyhm 1.3 media-libs/libvorbis"
21     DEPEND="${RDEPEND}
22 mr_bones_ 1.4 media-libs/freetype:2"
23 tupone 1.1
24 mr_bones_ 1.4 src_prepare() {
25 nyhm 1.3 unpack ./man/${PN}.6.gz
26 mr_bones_ 1.4 sed -i \
27     -e 's/-Werror//' \
28     -e '/^CC/d' \
29     Makefile \
30     utils/Makefile \
31     data/Makefile \
32     || die "sed failed"
33 tupone 1.1 }
34    
35     src_compile() {
36 mr_bones_ 1.4 emake -C utils || die
37 tupone 1.1 # Note that the Makefiles for tuxpuck are buggy so -j1 is used.
38 mr_bones_ 1.4 emake -j1 -C data || die
39     emake || die
40 tupone 1.1 }
41    
42     src_install() {
43     dogamesbin tuxpuck || die "dogamesbin failed"
44     doman man/tuxpuck.6
45     dodoc *.txt
46     doicon data/icons/${PN}.ico
47     make_desktop_entry ${PN} "TuxPuck" /usr/share/pixmaps/${PN}.ico
48     prepgamesdirs
49     }

  ViewVC Help
Powered by ViewVC 1.1.20