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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Nov 9 19:55:12 2007 UTC (11 years, 1 month ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.3.16)

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.2.ebuild,v 1.1 2007/03/10 10:54:19 nyhm Exp $
4
5 inherit autotools eutils python 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="debug gnet python sqlite"
15
16 RDEPEND="=x11-libs/gtk+-2*
17 gnome-base/libgnomecanvas
18 media-libs/sdl-mixer
19 media-libs/libsdl
20 dev-libs/libxml2
21 dev-libs/popt
22 virtual/libintl
23 games-board/gnuchess
24 gnet? ( >=net-libs/gnet-2 )
25 python? (
26 dev-python/gnome-python
27 dev-python/pygtk
28 dev-python/pyxml
29 >=dev-python/pysqlite-2
30 )
31 sqlite? ( dev-db/sqlite )"
32 DEPEND="${RDEPEND}
33 sys-devel/gettext
34 sys-apps/texinfo
35 app-text/texi2html
36 dev-util/pkgconfig"
37 RDEPEND="${RDEPEND}
38 media-gfx/tuxpaint
39 sci-electronics/gnucap"
40
41 src_unpack() {
42 unpack ${A}
43 cd "${S}"
44 epatch "${FILESDIR}"/${P}-build.patch
45 cp /usr/share/gettext/config.rpath .
46 eautoreconf
47 }
48
49 src_compile() {
50 python_version
51 GNUCHESS=${GAMES_BINDIR}/gnuchess \
52 egamesconf \
53 --disable-dependency-tracking \
54 --enable-xf86vidmode \
55 --disable-cairo \
56 $(use_with python python /usr/bin/python${PYVER}) \
57 $(use_enable debug) \
58 $(use_enable gnet) \
59 $(use_enable sqlite) \
60 || die
61 emake -j1 || die "emake failed"
62 }
63
64 src_install() {
65 emake DESTDIR="${D}" install || die "emake install failed"
66 dodoc AUTHORS ChangeLog NEWS README THANKS TODO
67 prepgamesdirs
68 }

  ViewVC Help
Powered by ViewVC 1.1.20