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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Thu Oct 3 13:37:49 2013 UTC (11 months, 3 weeks ago) by creffett
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Punt neotools. Oops, forgot to remote last night it seems.

1 # Copyright 1999-2013 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-r1.ebuild,v 1.4 2013/05/13 08:19:47 tupone 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 "${FILESDIR}"/${P}-automake113.patch
45
46 eautoreconf
47 }
48
49 src_install() {
50 emake DESTDIR="${D}" install || die "emake install failed"
51 dodoc AUTHORS ChangeLog*
52 }

  ViewVC Help
Powered by ViewVC 1.1.20