/[gentoo-x86]/games-action/clanbomber/clanbomber-2.1.1.ebuild
Gentoo

Contents of /games-action/clanbomber/clanbomber-2.1.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Thu Nov 15 11:43:55 2012 UTC (20 months, 1 week ago) by tupone
Branch: MAIN
Changes since 1.5: +5 -9 lines
Build with automake 1.12 Bug #442310
Build with new boost

(Portage version: 2.1.11.31/cvs/Linux i686, signed Manifest commit with key 0145142D)

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-action/clanbomber/clanbomber-2.1.1.ebuild,v 1.5 2012/11/04 04:42:37 mr_bones_ Exp $
4
5 EAPI=2
6 inherit autotools base eutils flag-o-matic games
7
8 DESCRIPTION="Bomberman-like multiplayer game"
9 HOMEPAGE="http://savannah.nongnu.org/projects/clanbomber/"
10 SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.lzma"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~ppc x86"
15 IUSE=""
16
17 RDEPEND="media-libs/libsdl[audio,joystick,video]
18 media-libs/sdl-image[png]
19 media-libs/sdl-mixer
20 media-libs/sdl-ttf
21 media-libs/sdl-gfx
22 dev-libs/boost
23 media-fonts/dejavu"
24 DEPEND="${RDEPEND}
25 virtual/pkgconfig"
26
27 DOCS=( AUTHORS ChangeLog ChangeLog.hg IDEAS NEWS QUOTES README TODO )
28
29 src_prepare() {
30 local boost_ver=$(best_version ">dev-libs/boost-1.49")
31
32 boost_ver=${boost_ver/*boost-/}
33 boost_ver=${boost_ver%.*}
34 boost_ver=${boost_ver/./_}
35
36 export BOOST_INCLUDEDIR="/usr/include/boost-${boost_ver}"
37 export BOOST_LIBRARYDIR="/usr/$(get_libdir)/boost-${boost_ver}"
38 sed -i -e 's/menuentry//' src/Makefile.am || die
39 epatch \
40 "${FILESDIR}"/${P}-automake112.patch \
41 "${FILESDIR}"/${P}-boost150.patch
42 eautoreconf
43 }
44
45 src_install() {
46 base_src_install
47 newicon src/pics/cup2.png ${PN}.png
48 make_desktop_entry ${PN}2 ClanBomber2
49 rm -f "${D}${GAMES_DATADIR}"/${PN}/fonts/DejaVuSans-Bold.ttf
50 dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf \
51 "${GAMES_DATADIR}"/${PN}/fonts/DejaVuSans-Bold.ttf
52 prepgamesdirs
53 }

  ViewVC Help
Powered by ViewVC 1.1.20