summaryrefslogtreecommitdiff
path: root/dev-util/cppcheck/cppcheck-2.4.1.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-11-23 01:43:46 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-11-23 01:43:46 +0000
commit7bb6b4c233214c08b69376fa0061fd2534eaf4de (patch)
tree6ba537ae44ca411cad6fd8d285bce767a6e1f4d4 /dev-util/cppcheck/cppcheck-2.4.1.ebuild
parent379fc91217fd8a25c5dfcebe0384d806c46d5167 (diff)
downloadbaldeagleos-repo-7bb6b4c233214c08b69376fa0061fd2534eaf4de.tar.gz
baldeagleos-repo-7bb6b4c233214c08b69376fa0061fd2534eaf4de.tar.xz
baldeagleos-repo-7bb6b4c233214c08b69376fa0061fd2534eaf4de.zip
Adding metadata
Diffstat (limited to 'dev-util/cppcheck/cppcheck-2.4.1.ebuild')
-rw-r--r--dev-util/cppcheck/cppcheck-2.4.1.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/dev-util/cppcheck/cppcheck-2.4.1.ebuild b/dev-util/cppcheck/cppcheck-2.4.1.ebuild
index 973aefd01b4c..6a705a7a67d8 100644
--- a/dev-util/cppcheck/cppcheck-2.4.1.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.4.1.ebuild
@@ -2,8 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+
PYTHON_COMPAT=( python3_{6,7,8,9,10} )
-inherit distutils-r1 toolchain-funcs cmake
+inherit distutils-r1 cmake
DESCRIPTION="Static analyzer of C/C++ code"
HOMEPAGE="https://github.com/danmar/cppcheck"
@@ -30,6 +31,7 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
z3? ( sci-mathematics/z3 )
"
+
PATCHES=(
"${FILESDIR}"/${PN}-2.4.1-limits.patch
)
@@ -39,12 +41,11 @@ src_prepare() {
}
src_configure() {
-
local mycmakeargs=(
-DHAVE_RULES="$(usex pcre)"
-DBUILD_GUI="$(usex qt5)"
-DUSE_Z3="$(usex z3)"
- -DFILESDIR="${EROOT}/usr/share/${PN}/"
+ -DFILESDIR="${EPREFIX}/usr/share/${PN}/"
-DENABLE_OSS_FUZZ=OFF
)
cmake_src_configure
@@ -63,7 +64,7 @@ src_compile() {
src_install() {
# it's not autotools-based, so "${ED}" here, not "${D}", bug 531760
emake install DESTDIR="${ED}" \
- FILESDIR="${EROOT}/usr/share/${PN}/"
+ FILESDIR="${EPREFIX}/usr/share/${PN}/"
insinto "/usr/share/${PN}/cfg"
doins cfg/*.cfg
@@ -75,7 +76,7 @@ src_install() {
pushd htmlreport || die
distutils-r1_src_install
popd || die
- find "${D}" -name "*.egg-info" -delete
+ find "${D}" -name "*.egg-info" -delete || die
else
rm "${ED}/usr/bin/cppcheck-htmlreport" || die
fi