dev-cpp/muParser: port to EAPI 7

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2021-04-19 17:30:11 +01:00
parent 8baf35b467
commit 760051736a

View File

@@ -1,13 +1,12 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit epatch
EAPI=7
DESCRIPTION="Library for parsing mathematical expressions"
HOMEPAGE="http://muparser.beltoforion.de/"
SRC_URI="https://github.com/beltoforion/muparser/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/muparser-${PV}
LICENSE="MIT"
SLOT="0"
@@ -15,10 +14,13 @@ KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc test"
RESTRICT="!test? ( test )"
S=${WORKDIR}/muparser-${PV}
PATCHES=(
"${FILESDIR}"/${PN}-1.32-parallel-build.patch
)
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.32-parallel-build.patch
default
sed -i \
-e 's:-O2::g' \
configure || die