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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Apr 8 00:48:55 2008 UTC (10 years ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.4.4)

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

  ViewVC Help
Powered by ViewVC 1.1.20