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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri Jan 13 00:27:38 2006 UTC (12 years, 8 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.0.53)

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.3.ebuild,v 1.3 2005/06/07 02:25:35 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="python editor" #editor didn't compile for me.
15 IUSE="python"
16
17 RDEPEND="virtual/x11
18 >=dev-libs/glib-2.0
19 =x11-libs/gtk+-2*
20 >=gnome-base/libgnomecanvas-2.0.2
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 >=dev-python/gnome-python-2.0 )
28 editor? (
29 >=gnome-base/libgnome-1.96.0
30 >=gnome-base/libgnomeui-1.96.0
31 )"
32 DEPEND="${RDEPEND}
33 sys-apps/texinfo
34 app-text/texi2html"
35
36 src_unpack() {
37 unpack ${A}
38 cd "${S}"
39 sed -i \
40 -e '/^install-data-am/s/install-libgcomprisincludeHEADERS//' \
41 src/gcompris/Makefile.in \
42 || die "sed failed"
43 }
44
45 src_compile() {
46 export GNUCHESS="${GAMES_BINDIR}/gnuchess"
47 # $(use_with editor) - editor didn't compile for me.
48 econf \
49 --disable-dependency-tracking \
50 $(use_with python python /usr/bin/python) \
51 --without-editor \
52 || die
53 emake -j1 || die "emake failed"
54 }
55
56 src_install() {
57 make install DESTDIR=${D} || die "make install failed"
58 # Crashed for me
59 rm -rf "${D}/usr/share/gcompris/boards/watercycle"*
60 rm -f "${D}/usr/share/gcompris/boards/followline.xml"
61 # mailing list reports crash
62 rm -f "${D}/usr/share/gcompris/boards/click_on_letter.xml"
63 use editor || rm -f "${D}/usr/share/applications/gcompris-edit.desktop"
64 dodoc AUTHORS ChangeLog NEWS README THANKS TODO
65 prepgamesdirs
66 }

  ViewVC Help
Powered by ViewVC 1.1.20