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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Mar 20 19:16:04 2007 UTC (11 years, 8 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.2.2)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/gcompris-8.2.ebuild,v 1.2 2007/01/06 02:36:28 nyhm Exp $
4
5 WANT_AUTOCONF=latest
6 WANT_AUTOMAKE=latest
7 inherit autotools python games
8
9 DESCRIPTION="full featured educational application for children from 2 to 10"
10 HOMEPAGE="http://gcompris.net/"
11 SRC_URI="mirror://sourceforge/gcompris/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~ppc ~x86"
16 IUSE="python"
17
18 RDEPEND="x11-libs/libXrandr
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 python? (
25 dev-python/gnome-python
26 dev-python/pygtk
27 dev-python/pyxml
28 >=dev-python/pysqlite-2
29 )
30 >=dev-libs/popt-1.5
31 games-board/gnuchess"
32 DEPEND="${RDEPEND}
33 sys-devel/gettext
34 sys-apps/texinfo
35 app-text/texi2html
36 x11-libs/libXt"
37 RDEPEND="${RDEPEND}
38 media-gfx/tuxpaint
39 sci-electronics/gnucap"
40
41 src_unpack() {
42 unpack ${A}
43 cd "${S}"
44 sed -i \
45 -e 's/-Werror//' \
46 -e '/AM_CHECK_PYMOD(gnome.canvas/d' \
47 configure.in \
48 || die "sed configure failed"
49 sed -i \
50 -e 's:libgcomprisinclude_HEADERS:noinst_HEADERS:' \
51 src/gcompris/Makefile.am \
52 || die "sed failed"
53 cp /usr/share/gettext/config.rpath .
54 eautoreconf
55 }
56
57 src_compile() {
58 python_version
59 export GNUCHESS=${GAMES_BINDIR}/gnuchess
60 econf \
61 --disable-dependency-tracking \
62 $(use_with python python /usr/bin/python${PYVER}) \
63 $(use_enable python sqlite) \
64 || die
65 emake -j1 || die "emake failed"
66 }
67
68 src_install() {
69 emake DESTDIR="${D}" install || die "emake install failed"
70 dodoc AUTHORS ChangeLog NEWS README THANKS TODO
71 prepgamesdirs
72 }

  ViewVC Help
Powered by ViewVC 1.1.20