/[gentoo-x86]/games-kids/gcompris/gcompris-6.5.3-r1.ebuild
Gentoo

Contents of /games-kids/gcompris/gcompris-6.5.3-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Wed Nov 25 10:00:35 2009 UTC (8 years, 6 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.6.13/cvs/Linux i686)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/gcompris-6.5.3-r1.ebuild,v 1.6 2009/01/17 22:40:52 mr_bones_ Exp $
4
5 inherit eutils games
6
7 DESCRIPTION="full featured educational application for children from 2 to 10"
8 HOMEPAGE="http://gcompris.net"
9 SRC_URI="mirror://sourceforge/gcompris/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="amd64 ppc x86"
14 IUSE=""
15
16 RDEPEND="x11-libs/libXrandr
17 >=dev-libs/glib-2.0
18 =x11-libs/gtk+-2*
19 >=gnome-base/libgnomecanvas-2.0.2
20 media-libs/sdl-mixer
21 media-libs/libsdl
22 dev-libs/libxml2
23 dev-libs/popt
24 games-board/gnuchess"
25
26 DEPEND="${RDEPEND}
27 dev-perl/XML-Parser
28 sys-apps/texinfo
29 app-text/texi2html"
30
31 src_unpack() {
32 unpack ${A}
33 cd "${S}"
34 sed -i \
35 -e '/^install-data-am/s/install-libgcomprisincludeHEADERS//' \
36 src/gcompris/Makefile.in \
37 || die "sed failed"
38 }
39
40 src_compile() {
41 export GNUCHESS="${GAMES_BINDIR}/gnuchess"
42 # $(use_with editor) - editor didn't compile for me.
43 # $(use_with python python /usr/bin/python) - doesn't seem to work with 2.4
44 econf \
45 --disable-dependency-tracking \
46 --without-python \
47 --without-editor \
48 || die
49 emake -j1 || die "emake failed"
50 }
51
52 src_install() {
53 make install DESTDIR="${D}" || die "make install failed"
54 # Crashed for me
55 rm -rf "${D}/usr/share/gcompris/boards/watercycle"*
56 rm -f "${D}/usr/share/gcompris/boards/followline.xml"
57 # mailing list reports crash
58 rm -f "${D}/usr/share/gcompris/boards/click_on_letter.xml"
59 dodoc AUTHORS ChangeLog NEWS README THANKS TODO
60 prepgamesdirs
61 }

  ViewVC Help
Powered by ViewVC 1.1.20