summaryrefslogtreecommitdiff
path: root/dev-util
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/coverity/Manifest2
-rw-r--r--dev-util/coverity/coverity-8.5.0.3.ebuild14
2 files changed, 11 insertions, 5 deletions
diff --git a/dev-util/coverity/Manifest b/dev-util/coverity/Manifest
index 663d2d4d..c44e5db2 100644
--- a/dev-util/coverity/Manifest
+++ b/dev-util/coverity/Manifest
@@ -1,4 +1,4 @@
DIST cov-analysis-linux-8.5.0.3.tar.gz 420776278 SHA256 98a2a079adb311d6f86ba280cdf98700b9a81321a694d4f1a292645aaa366f81 WHIRLPOOL 81a2a1dc4af6bfb63d09fe361d7698ce973a5d7b90ad7bae5594d673cc0ea65c8ffd70ee679c98ce7696e91858ab6c0b70fc3c77510bda893961c52deb6530df
DIST cov-analysis-linux64-8.5.0.3.tar.gz 449455458 SHA256 1d30876d88f64b599d1bd06b9fdd6e28bacbc46af56774bca82a82c8403e2bc3 WHIRLPOOL 39e2435ca1fa172e9df9f3b0668fd41a6fad77f74c4759ed35a4d88cfc411279cd948782d4e4b651b30c44daa6461e4d4e805c249632a5c423e4ad62d9659989
-EBUILD coverity-8.5.0.3.ebuild 2207 SHA256 ece9a4262ec9c70231148ab329476b63e76b231bf69d6989bcb622e36d2175f7 WHIRLPOOL fffefbfcb1b490d7ac08d2e968a0ba0be57eb4d8f41bffb3bf6adc79ba655afc8e5005cc73eff82db0782298ef01590f1397ac0a8b7be7de875dffa8b3658e2a
+EBUILD coverity-8.5.0.3.ebuild 2246 SHA256 c5946b4588c2b0cc5d3e6dc48c766435d502c1ef27e4d59c123dcc0c48d7bec7 WHIRLPOOL 1944f58dfac8547115fdc82f7064aaa7d060c2d0877f337ccde16385b04bc8ea724717bc387fbd2f3c74052ab06fbe92770ed82d8a1b61b6c9cc2750439427d1
MISC metadata.xml 256 SHA256 6ca43960767ca28661abf97c85263db77fe7643902be2ce777c61aa688d8ea2d WHIRLPOOL cef8582829111be09e651eb819e6d1ea59c9c4386b842169ccd46a14c8e3ccb090486fecd61c5fd4aa47998cacc69cdc1fb5ca6bb6325a4da1ebfd0b6eebda7b
diff --git a/dev-util/coverity/coverity-8.5.0.3.ebuild b/dev-util/coverity/coverity-8.5.0.3.ebuild
index 560ff505..5f3774be 100644
--- a/dev-util/coverity/coverity-8.5.0.3.ebuild
+++ b/dev-util/coverity/coverity-8.5.0.3.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
DESCRIPTION="Coverity provides the results of analysis on open source coding projects"
HOMEPAGE="http://www.coverity.com"
@@ -26,9 +26,6 @@ RESTRICT="fetch"
QA_PREBUILT="opt/coverity/bin/*"
-use amd64 && S="${WORKDIR}/cov-analysis-linux64-${PV}"
-use x86 && S="${WORKDIR}/cov-analysis-linux-${PV}"
-
pkg_nofetch() {
eerror "Please go to https://scan.coverity.com/download"
use amd64 && eerror "and download Linux64"
@@ -38,7 +35,16 @@ pkg_nofetch() {
use x86 && eerror "named as cov-analysis-linux32-${PV}.tar.gz"
}
+src_unpack() {
+ default
+
+ use amd64 && S="${WORKDIR}/cov-analysis-linux64-${PV}"
+ use x86 && S="${WORKDIR}/cov-analysis-linux-${PV}"
+}
+
src_prepare () {
+ default
+
echo "PATH='/opt/${PN}/bin'" > "${T}/99${PN}"
echo "ROOTPATH='/opt/${PN}/bin'" >> "${T}/99${PN}"