/[gentoo-x86]/games-board/gtkboard/gtkboard-0.11_pre0.ebuild
Gentoo

Contents of /games-board/gtkboard/gtkboard-0.11_pre0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.18 - (show annotations) (download)
Fri May 4 04:30:10 2012 UTC (13 months, 2 weeks ago) by jdhore
Branch: MAIN
CVS Tags: HEAD
Changes since 1.17: +3 -3 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/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-board/gtkboard/gtkboard-0.11_pre0.ebuild,v 1.17 2011/02/22 19:03:05 mr_bones_ Exp $
4
5 EAPI=2
6 inherit eutils games
7
8 MY_P=${P/_}
9 DESCRIPTION="Board games system"
10 HOMEPAGE="http://gtkboard.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 ppc x86"
16 IUSE="gnome"
17
18 RDEPEND="x11-libs/gtk+:2
19 media-libs/libsdl[audio]
20 media-libs/sdl-mixer[vorbis]
21 gnome? ( gnome-base/libgnomeui )"
22 DEPEND="${RDEPEND}
23 virtual/pkgconfig"
24
25 S=${WORKDIR}/${MY_P}
26
27 PATCHES=(
28 "${FILESDIR}"/${P}-gcc41.patch
29 "${FILESDIR}"/${P}-gcc45.patch
30 )
31
32 src_configure() {
33 egamesconf \
34 --disable-dependency-tracking \
35 --datadir="${GAMES_DATADIR}"/${PN} \
36 --enable-gtk2 \
37 --enable-sdl \
38 $(use_enable gnome)
39 }
40
41 src_install() {
42 emake DESTDIR="${D}" install || die "emake install failed"
43 doicon pixmaps/${PN}.png
44 make_desktop_entry ${PN} Gtkboard
45 dodoc AUTHORS ChangeLog TODO
46 dohtml doc/index.html
47 prepgamesdirs
48 }

  ViewVC Help
Powered by ViewVC 1.1.20