diff options
-rw-r--r-- | dev-util/coverity/Manifest | 4 | ||||
-rw-r--r-- | dev-util/coverity/coverity-2017.07.ebuild (renamed from dev-util/coverity/coverity-8.7.0.ebuild) | 25 |
2 files changed, 20 insertions, 9 deletions
diff --git a/dev-util/coverity/Manifest b/dev-util/coverity/Manifest index 643e6a7a..72893bc8 100644 --- a/dev-util/coverity/Manifest +++ b/dev-util/coverity/Manifest @@ -1,2 +1,2 @@ -DIST cov-analysis-linux-8.7.0.tar.gz 456542824 SHA256 dc9f7b1b5012041607806aff4a21a2a39fbab3763e7472e4880b881eae40796d WHIRLPOOL e67e0d8fa28227a3304b27e3098b4c855702097a19aa3434bfa80a673d9bfb7d1dfc7677a3ee782e7646fe1a5f76f00a26b5466e2a4cbd7b1e660283a64adfda -DIST cov-analysis-linux64-8.7.0.tar.gz 489314535 SHA256 fb1099e961d5d6f23c58525cb554d96fe1e876cfc48168c85eb72aead0f9fc8c WHIRLPOOL e975f43173fdfd7fc4d531d1d5b5ee9ac900a260677cf6fb3048ae286bd8f83548a79b2ffe9b3de1521b137be45b246d8ac8770d59adb97ee1094236c01c8aba +DIST cov-analysis-linux-2017.07.tar.gz 480416104 SHA256 a66fa96dfe0c2f5b1711ed22c35fe9f2d0f9ac94c5550fecc25cebb65018b577 WHIRLPOOL 81c2b9ee52f905c5f970cd854f8cf3567e73f4c9b97c9c9338cd07bda891f7cb735ee24ab24245bc7a2cd5676912a863d8843f536ba6f0ce6dc0abba42c1e66c +DIST cov-analysis-linux64-2017.07.tar.gz 545194721 SHA256 866e12f786b3e22cb188ef7900a58f30595ba014393cc9db27dd025fd86a9663 WHIRLPOOL 557a0c9206b87db1cb4a2e0c587c48e0521ee60398ba2edd895adac3fe88daf88def8e719d70ed2eb9c84d6bd82a2b5231e3e8868ac9ae82cb5698d22465f222 diff --git a/dev-util/coverity/coverity-8.7.0.ebuild b/dev-util/coverity/coverity-2017.07.ebuild index b7a63688..3f5cb08f 100644 --- a/dev-util/coverity/coverity-8.7.0.ebuild +++ b/dev-util/coverity/coverity-2017.07.ebuild @@ -11,9 +11,9 @@ SRC_URI="amd64? ( cov-analysis-linux64-${PV}.tar.gz ) LICENSE="coverity-PLA" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" +IUSE="doc" -L10N="ja zh-CN" +L10N="ja ko zh-CN" for _l in ${L10N} ; do IUSE="${IUSE} l10n_${_l}" done @@ -65,17 +65,28 @@ src_install () { doenvd "${T}/99${PN}" insinto "/opt/${PN}" - doins -r config doc dtd lib + doins -r config dtd lib - into /opt/coverity + into "/opt/${PN}" dobin bin/cov-* dobin bin/lib*.so + insinto "/opt/${PN}/doc" + doins -r doc/en + + if use doc ; then + for _l in ${L10N} ; do + if use "l10n_${_l}" ; then + [[ -d "doc/${_l}" ]] && doins -r "doc/${_l}" + fi + done + fi + insinto /usr/share/locale for _l in ${L10N} ; do - if use "l10n_${_l}" ; then - doins -r "locale/${_l}" - fi + if use "l10n_${_l}" ; then + doins -r "locale/${_l}" + fi done } |