/[gentoo-x86]/dev-games/neoengine/neoengine-0.7.0.ebuild
Gentoo

Contents of /dev-games/neoengine/neoengine-0.7.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Aug 13 09:06:37 2004 UTC (10 years ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
localize variables; tidy; clean older ebuilds

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-games/neoengine/neoengine-0.7.0.ebuild,v 1.4 2004/06/29 15:06:26 vapier Exp $
4
5 inherit eutils
6
7 DESCRIPTION="An Open Source platform independent 3D game engine written in C++"
8 HOMEPAGE="http://www.neoengine.org/"
9 SRC_URI="mirror://sourceforge/neoengine/${P}.tar.bz2"
10
11 LICENSE="MPL-1.1"
12 SLOT="0"
13 KEYWORDS="~x86 ~ppc"
14 IUSE="doc"
15
16 DEPEND="virtual/opengl
17 media-libs/alsa-lib
18 doc? ( app-doc/doxygen )"
19
20 src_unpack() {
21 unpack ${A}
22
23 cd ${S}
24 epatch ${FILESDIR}/${PV}-execute.patch
25 use ppc && epatch ${FILESDIR}/${PV}-ppc.patch
26 }
27
28 src_compile() {
29 econf || die "./configure failed"
30 emake || die "Compilation failed"
31
32 if use doc; then
33 for i in "*.doxygen"; do
34 doxygen ${i};
35 done
36 fi
37 }
38
39 src_install() {
40 einstall || die "Installation failed"
41
42 dodoc AUTHORS ChangeLog INSTALL README TODO
43
44 if use doc; then
45 mkdir -p ${D}/usr/share/doc/${PF}
46 for i in "*-api"; do
47 cp -r ${i} ${D}/usr/share/doc/${PF};
48 done
49 fi
50 }

  ViewVC Help
Powered by ViewVC 1.1.20