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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Tue Mar 31 05:11:59 2009 UTC (5 years, 8 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
rev bump to force out the linking with the system libbz2
(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/neotools/neotools-0.8.2.ebuild,v 1.5 2009/03/31 05:09:32 mr_bones_ Exp $
4
5 EAPI=2
6 inherit eutils autotools
7
8 DESCRIPTION="Various development tools for NeoEngine"
9 HOMEPAGE="http://www.neoengine.org/"
10 SRC_URI="mirror://sourceforge/neoengine/neotools-${PV}.tar.bz2"
11
12 LICENSE="MPL-1.1"
13 SLOT="0"
14 KEYWORDS="~ppc ~x86"
15 IUSE=""
16
17 DEPEND=">=dev-games/neoengine-${PV}
18 app-arch/bzip2"
19
20 S=${WORKDIR}/neotools
21
22 src_prepare() {
23 sed -i \
24 -e 's/BUILD_STATIC/BUILD_DYNAMIC/g' \
25 -e 's/_static//g' \
26 nscemake/Makefile.am \
27 || die "sed failed"
28 sed -i \
29 -e 's:"bzip2/bzlib.h":<bzlib.h>:' \
30 npacmake/main.cpp \
31 || die "sed failed"
32 sed -i \
33 -e '/npacmake_SOURCES/s/main.cpp.*/main.cpp/' \
34 -e '/npacmake_LDADD/s/$/ -lbz2/' \
35 npacmake/Makefile.am \
36 || die "sed failed"
37 sed -i \
38 -e 's/ -Werror//' \
39 configure.in \
40 || die "sed failed"
41
42 epatch "${FILESDIR}"/${P}-errno.patch \
43 "${FILESDIR}"/${P}-gcc43.patch
44
45 eautoreconf
46 }
47
48 src_install() {
49 emake DESTDIR="${D}" install || die "emake install failed"
50 dodoc AUTHORS ChangeLog*
51 }

  ViewVC Help
Powered by ViewVC 1.1.20