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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Mon Mar 2 19:49:29 2009 UTC (5 years, 6 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.6.7/cvs/Linux i686)

1 # Copyright 1999-2009 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.8.2.ebuild,v 1.6 2009/01/16 20:38:49 tupone Exp $
4
5 inherit eutils autotools
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="~ppc ~x86"
14 IUSE="doc"
15
16 RDEPEND="virtual/opengl
17 media-libs/alsa-lib"
18 DEPEND="${RDEPEND}
19 doc? ( app-doc/doxygen )"
20
21 S=${WORKDIR}/neoengine
22
23 src_unpack() {
24
25 unpack ${A}
26 cd "${S}"
27
28 epatch "${FILESDIR}/${P}"-gcc41.patch \
29 "${FILESDIR}/${P}"-gcc43.patch
30
31 ./setbuildtype.sh dynamic
32
33 eautoreconf || die "eautoreconf failed"
34 eautomake neodevopengl/Makefile || die "eautomake neodevopengl failed"
35 eautomake neodevalsa/Makefile || die "eautomake neodevalsa failed"
36 }
37
38 src_compile() {
39 econf \
40 --disable-dependency-tracking \
41 || die "econf failed"
42 emake || die "emake failed"
43
44 if use doc; then
45 emake doc || die "emake doc failed"
46 fi
47 }
48
49 src_install() {
50 emake DESTDIR="${D}" install || die "emake install failed"
51 dodoc AUTHORS ChangeLog* NEWS README
52 use doc && dohtml -r *-api
53 }

  ViewVC Help
Powered by ViewVC 1.1.20