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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Jan 13 00:27:38 2006 UTC (12 years, 11 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +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-7.1.1.ebuild,v 1.1 2005/11/28 06:13:37 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 " #doesn't like python-2.4
15 IUSE=""
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 DEPEND="${RDEPEND}
26 sys-apps/texinfo
27 app-text/texi2html"
28 RDEPEND="${RDEPEND}
29 games-board/gnuchess"
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 python python /usr/bin/python) - doesn't seem to work with 2.4
43 # $(use_enable sqlite) \ - needs python
44 econf \
45 --disable-dependency-tracking \
46 --without-python \
47 --disable-sqlite \
48 || die
49 emake -j1 || die "emake failed"
50 }
51
52 src_install() {
53 make DESTDIR="${D}" install || die "make install failed"
54 dodoc AUTHORS ChangeLog NEWS README THANKS TODO
55 prepgamesdirs
56 }

  ViewVC Help
Powered by ViewVC 1.1.20