/[gentoo-x86]/games-puzzle/icebreaker/icebreaker-1.9.5.ebuild
Gentoo

Contents of /games-puzzle/icebreaker/icebreaker-1.9.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.17 - (show annotations) (download)
Tue Oct 19 15:14:32 2010 UTC (4 years ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.16: +2 -3 lines
tidy
(Portage version: 2.1.8.3/cvs/Linux i686)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-puzzle/icebreaker/icebreaker-1.9.5.ebuild,v 1.16 2010/10/19 08:48:21 tupone Exp $
4
5 EAPI=2
6 inherit eutils games
7
8 DESCRIPTION="Trap and capture penguins on Antarctica"
9 HOMEPAGE="http://www.mattdm.org/icebreaker/"
10 SRC_URI="http://www.mattdm.org/${PN}/1.9.x/${P}.tgz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 ppc x86"
15 IUSE=""
16
17 DEPEND="media-libs/libsdl[video]
18 media-libs/sdl-mixer"
19
20 PATCHES=( "${FILESDIR}"/${P}-ldflags.patch
21 "${FILESDIR}"/${P}-gentoo.patch
22 "${FILESDIR}"/${P}-parallell-install.patch )
23
24 src_compile() {
25 emake \
26 OPTIMIZE="${CFLAGS}" \
27 prefix=/usr \
28 bindir="${GAMES_BINDIR}" \
29 datadir="${GAMES_DATADIR}" \
30 highscoredir="${GAMES_STATEDIR}" \
31 || die "emake failed"
32 }
33
34 src_install() {
35 emake \
36 prefix="${D}/usr" \
37 bindir="${D}${GAMES_BINDIR}" \
38 datadir="${D}${GAMES_DATADIR}" \
39 highscoredir="${D}${GAMES_STATEDIR}" install || die
40 newicon ${PN}_48.bmp ${PN}.bmp
41 make_desktop_entry ${PN} IceBreaker /usr/share/pixmaps/${PN}.bmp
42 dodoc ChangeLog README* TODO
43 prepgamesdirs
44 }

  ViewVC Help
Powered by ViewVC 1.1.20