/[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 - (hide annotations) (download)
Mon Mar 2 19:49:29 2009 UTC (6 years, 5 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 tupone 1.6 # Copyright 1999-2009 Gentoo Foundation
2 tupone 1.1 # Distributed under the terms of the GNU General Public License v2
3 mr_bones_ 1.7 # $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 tupone 1.1
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 mr_bones_ 1.4 KEYWORDS="~ppc ~x86"
14 tupone 1.1 IUSE="doc"
15    
16 mr_bones_ 1.5 RDEPEND="virtual/opengl
17     media-libs/alsa-lib"
18     DEPEND="${RDEPEND}
19 tupone 1.1 doc? ( app-doc/doxygen )"
20    
21 mr_bones_ 1.5 S=${WORKDIR}/neoengine
22 tupone 1.1
23     src_unpack() {
24    
25 mr_bones_ 1.4 unpack ${A}
26 tupone 1.1 cd "${S}"
27    
28 tupone 1.6 epatch "${FILESDIR}/${P}"-gcc41.patch \
29     "${FILESDIR}/${P}"-gcc43.patch
30 tupone 1.3
31 tupone 1.1 ./setbuildtype.sh dynamic
32    
33 tupone 1.2 eautoreconf || die "eautoreconf failed"
34     eautomake neodevopengl/Makefile || die "eautomake neodevopengl failed"
35     eautomake neodevalsa/Makefile || die "eautomake neodevalsa failed"
36 tupone 1.1 }
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 mr_bones_ 1.5 emake DESTDIR="${D}" install || die "emake install failed"
51 tupone 1.1 dodoc AUTHORS ChangeLog* NEWS README
52     use doc && dohtml -r *-api
53     }

  ViewVC Help
Powered by ViewVC 1.1.20