diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-03-31 05:09:32 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-03-31 05:09:32 +0000 |
commit | 7afd809882d42b7f1183cb1dbad62c87c7f558ac (patch) | |
tree | abf86ea42790dd81f4f52117cd55514b68c624ad /dev-games | |
parent | New prerelease version from upstream. (diff) | |
download | gentoo-2-7afd809882d42b7f1183cb1dbad62c87c7f558ac.tar.gz gentoo-2-7afd809882d42b7f1183cb1dbad62c87c7f558ac.tar.bz2 gentoo-2-7afd809882d42b7f1183cb1dbad62c87c7f558ac.zip |
EAPI=2; link against the system libbz2 (bug #258286)
(Portage version: 2.1.6.7/cvs/Linux i686)
Diffstat (limited to 'dev-games')
-rw-r--r-- | dev-games/neotools/ChangeLog | 6 | ||||
-rw-r--r-- | dev-games/neotools/neotools-0.8.2.ebuild | 32 |
2 files changed, 26 insertions, 12 deletions
diff --git a/dev-games/neotools/ChangeLog b/dev-games/neotools/ChangeLog index 865cc3132a53..26a26189e312 100644 --- a/dev-games/neotools/ChangeLog +++ b/dev-games/neotools/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-games/neotools # Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-games/neotools/ChangeLog,v 1.14 2009/01/23 10:58:08 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-games/neotools/ChangeLog,v 1.15 2009/03/31 05:09:32 mr_bones_ Exp $ + + 31 Mar 2009; Michael Sterrett <mr_bones_@gentoo.org> + neotools-0.8.2.ebuild: + EAPI=2; link against the system libbz2 (bug #258286) 23 Jan 2009; Alfredo Tupone <tupone@gentoo.org> +files/neotools-0.8.2-gcc43.patch, neotools-0.8.2.ebuild: diff --git a/dev-games/neotools/neotools-0.8.2.ebuild b/dev-games/neotools/neotools-0.8.2.ebuild index 6e7dd29f45a7..3ff4361c72ef 100644 --- a/dev-games/neotools/neotools-0.8.2.ebuild +++ b/dev-games/neotools/neotools-0.8.2.ebuild @@ -1,7 +1,8 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-games/neotools/neotools-0.8.2.ebuild,v 1.4 2009/01/23 10:58:08 tupone Exp $ +# $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 $ +EAPI=2 inherit eutils autotools DESCRIPTION="Various development tools for NeoEngine" @@ -13,29 +14,38 @@ SLOT="0" KEYWORDS="~ppc ~x86" IUSE="" -DEPEND=">=dev-games/neoengine-${PV}" +DEPEND=">=dev-games/neoengine-${PV} + app-arch/bzip2" -S="${WORKDIR}/neotools" +S=${WORKDIR}/neotools -src_unpack() { - unpack ${A} - - cd "${S}" +src_prepare() { sed -i \ -e 's/BUILD_STATIC/BUILD_DYNAMIC/g' \ -e 's/_static//g' \ - nscemake/Makefile.am || die "makefile sed failed" + nscemake/Makefile.am \ + || die "sed failed" + sed -i \ + -e 's:"bzip2/bzlib.h":<bzlib.h>:' \ + npacmake/main.cpp \ + || die "sed failed" + sed -i \ + -e '/npacmake_SOURCES/s/main.cpp.*/main.cpp/' \ + -e '/npacmake_LDADD/s/$/ -lbz2/' \ + npacmake/Makefile.am \ + || die "sed failed" sed -i \ -e 's/ -Werror//' \ - configure.in + configure.in \ + || die "sed failed" epatch "${FILESDIR}"/${P}-errno.patch \ "${FILESDIR}"/${P}-gcc43.patch - eautoreconf || die "eautoreconf failed" + eautoreconf } src_install() { - einstall || die "Installation failed" + emake DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS ChangeLog* } |