/[gentoo-x86]/games-arcade/tuxpuck/tuxpuck-0.8.2-r1.ebuild
Gentoo

Diff of /games-arcade/tuxpuck/tuxpuck-0.8.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20