/[gentoo-x86]/games-arcade/blobby/blobby-0.9c.ebuild
Gentoo

Contents of /games-arcade/blobby/blobby-0.9c.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Thu Jun 21 07:47:03 2012 UTC (2 years, 8 months ago) by tupone
Branch: MAIN
Changes since 1.5: +2 -1 lines
Compile on gcc-4.7 Bug #421967

(Portage version: 2.1.10.65/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-arcade/blobby/blobby-0.9c.ebuild,v 1.5 2012/05/04 04:22:29 jdhore Exp $
4
5 EAPI=2
6 inherit cmake-utils eutils games
7
8 DESCRIPTION="A beach ball game with blobs of goo"
9 HOMEPAGE="http://sourceforge.net/projects/blobby/"
10 SRC_URI="mirror://sourceforge/${PN}/${PN}2-linux-${PV}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 x86"
15 IUSE=""
16
17 RDEPEND=">=dev-games/physfs-2[zip]
18 media-libs/libsdl[audio,joystick,opengl,video,X]
19 virtual/opengl"
20 DEPEND="${RDEPEND}
21 dev-libs/boost
22 virtual/pkgconfig
23 app-arch/zip" #406667
24
25 S=${WORKDIR}/${PN}-beta-${PV}
26
27 src_prepare() {
28 sed -i -e "s:share/${PN}:${GAMES_DATADIR}/${PN}:" data/CMakeLists.txt || die
29 sed -i -e "s:share/${PN}:${GAMES_DATADIR/\/usr\/}/${PN}:" src/main.cpp || die
30 sed -i -e "/DESTINATION/s:bin:${GAMES_BINDIR}:" src/CMakeLists.txt || die
31 epatch "${FILESDIR}"/${P}-gcc47.patch
32 }
33
34 src_configure() {
35 cmake-utils_src_configure
36 }
37
38 src_compile() {
39 cmake-utils_src_compile
40 }
41
42 src_install() {
43 DOCS="AUTHORS ChangeLog README TODO" cmake-utils_src_install
44
45 newicon data/Icon.bmp ${PN}.bmp
46 make_desktop_entry ${PN} "Blobby Volley" /usr/share/pixmaps/${PN}.bmp
47
48 prepgamesdirs
49 }

  ViewVC Help
Powered by ViewVC 1.1.20