mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 23:08:09 -07:00
dev-cpp/muParser: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user