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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Dec 31 18:41:01 2003 UTC (14 years ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
FILE REMOVED
fix segfault #35443

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: initial version by Ron Simpkin doobedoobedo@quake3world.com
4
5 inherit games
6
7 DESCRIPTION="full featured educational application for children from 3 to 10"
8 HOMEPAGE="http://ofset.sourceforge.net/gcompris/"
9 SRC_URI="mirror://sourceforge/gcompris/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="x86"
14 IUSE="oggvorbis nls python"
15
16 DEPEND="virtual/x11
17 >=sys-apps/sed-4
18 >=gnome-base/libgnome-1.96.0
19 >=gnome-base/libgnomeui-1.96.0
20 >=gnome-base/libgnomecanvas-2.0.2
21 >=dev-libs/glib-2.0
22 =x11-libs/gtk+-2*
23 dev-libs/libassetml
24 dev-libs/libxml2
25 games-board/gnuchess
26 sys-apps/texinfo
27 app-text/texi2html
28 python? ( dev-lang/python )
29 oggvorbis? ( media-libs/libogg
30 media-libs/libvorbis
31 media-libs/libao )"
32
33 src_compile() {
34 export GNUCHESS="${GAMES_BINDIR}/gnuchess"
35
36 local myconf=""
37 use oggvorbis && myconf="${myconf} --with-ogg=/usr --with-vorbis=/usr --with-ao=/usr"
38 use python && myconf="${myconf} --with-python=`which python`"
39 # egamesconf ${myconf} || die
40 # for f in `grep -Rl /usr/games/share *` ; do
41 # sed -i \
42 # -e "s:${GAMES_PREFIX}/share/gnome:/usr/share/gnome:g" \
43 # -e "s:${GAMES_PREFIX}/share:${GAMES_DATADIR}:g" \
44 # ${f} || die "sed ${f} failed"
45 # done
46 econf ${myconf} || die
47
48 emake || die "emake failed"
49 }
50
51 src_install() {
52 make install DESTDIR=${D} || die "make install failed"
53 dodoc AUTHORS ChangeLog NEWS README THANKS TODO
54 # mv ${D}/${GAMES_DATADIR}/{locale,gnome,pixmaps} ${D}/usr/share/
55 # rm -rf ${D}/${GAMES_LIBDIR}/menu
56 # if [ ! `use nls` ] ; then
57 # rm -rf ${D}/usr/share/locale
58 # cd ${D}/${GAMES_DATADIR}/gcompris/boards/sounds
59 # rm -rf `find -type d -maxdepth 1 -mindepth 1 ! -name en`
60 # fi
61 # prepgamesdirs
62 }

  ViewVC Help
Powered by ViewVC 1.1.20