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

Contents of /games-kids/gcompris/gcompris-6.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Nov 21 16:43:00 2005 UTC (13 years ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.0.51.22-r3)

1 # Copyright 1999-2005 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.ebuild,v 1.2 2005/03/17 07:01:52 mr_bones_ Exp $
4
5 inherit eutils games
6
7 DESCRIPTION="full featured educational application for children from 3 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="python editor"
15
16 RDEPEND="virtual/x11
17 >=dev-libs/glib-2.0
18 =x11-libs/gtk+-2*
19 >=gnome-base/libgnomecanvas-2.0.2
20 >=dev-python/gnome-python-2.0
21 media-libs/sdl-mixer
22 media-libs/libsdl
23 dev-libs/libxml2
24 dev-libs/popt
25 games-board/gnuchess
26 python? ( dev-lang/python )
27 editor? (
28 >=gnome-base/libgnome-1.96.0
29 >=gnome-base/libgnomeui-1.96.0
30 )"
31 DEPEND="${RDEPEND}
32 sys-apps/texinfo
33 app-text/texi2html"
34
35 src_unpack() {
36 unpack ${A}
37 cd "${S}"
38 sed -i \
39 -e '/^install-data-am/s/install-libgcomprisincludeHEADERS//' \
40 src/gcompris/Makefile.in \
41 || die "sed failed"
42 }
43
44 src_compile() {
45 export GNUCHESS="${GAMES_BINDIR}/gnuchess"
46 econf \
47 --disable-dependency-tracking \
48 $(use_with python python /usr/bin/python) \
49 $(use_with editor) \
50 || die
51 emake -j1 || die "emake failed"
52 }
53
54 src_install() {
55 make install DESTDIR=${D} || die "make install failed"
56 # Crashed for me
57 rm -rf "${D}/usr/share/gcompris/boards/watercycle"*
58 rm -f "${D}/usr/share/gcompris/boards/followline.xml"
59 # mailing list reports crash
60 rm -f "${D}/usr/share/gcompris/boards/click_on_letter.xml"
61 use editor || rm -f "${D}/usr/share/applications/gcompris-edit.desktop"
62 dodoc AUTHORS ChangeLog NEWS README THANKS TODO
63 prepgamesdirs
64 }

  ViewVC Help
Powered by ViewVC 1.1.20