mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-04 00:08:09 -07:00
dev-util/cppcheck: remove old
Package-Manager: Portage-2.3.14, Repoman-2.3.6
This commit is contained in:
@@ -1,4 +1 @@
|
||||
DIST cppcheck-1.77.tar.bz2 1188453 BLAKE2B c1664c48d5d3dc544367705a0df08d6e3dad38947db1659d8514fba06c44efe3b1c6c04d191d5332883e28ebcd3e8aa1854450f96d92dd1c6ed4239abcf5573b SHA512 df8dddf7758c342d45b3393246e07eaa11a53dca19e8a0d09de04f12ea6232538941328d9ca9ac52eb425871fd1c49d55c77e6e38b40772b6f856fd1e9e99779
|
||||
DIST cppcheck-1.78.tar.bz2 1201959 BLAKE2B 5ea745ef9fd24636b14271d6bdb480c2d678447759d955d5aeb431e4a479ee1e33180ad8dd3992486d01823a6781c008e7ea0966edbc6b9d37ef6f6200f05a78 SHA512 598556e9d657a3a77ff889cb6647291160017f7f9322326771416ff59d44126ce47c39767657b863cdb8a1b46d7c83bb337ec2fe0574500b37e99c33377b5dd8
|
||||
DIST cppcheck-1.79.tar.bz2 1206623 BLAKE2B c352897e6403e540efc4ee105af04a70036c6cb70d3a0027683ef5ea27c3376091e84c1e762c4d4eefed43a7d52c58f54d29455dc7087a5f5ca93e22ebc4d2c4 SHA512 766649b685d60b057752a49eda46f5bb42681c01c32169e83f85ea6f5d3302b572a2d484c1cee1380fd304489d5a32f83eb59a72ceefb1b787031e84bf3a2676
|
||||
DIST cppcheck-1.81.tar.bz2 1514741 BLAKE2B 2f23dfe4bdb26e203411f0bf9bc569303a4d59f96911b32a8a5f9cc9a6a7fa75e5d87c328cb0bf8cc46bd8f38747a4663c33243b8385355cc5630e1fcf6c891f SHA512 22e7b63c35e71b2784065faca06aec8c286e3173f182ac10995073cc3d61fd0bfaf353c51ad9207d3bd2c6134ab1a3990a37668709505b657c2816d561f8af92
|
||||
|
||||
@@ -1,104 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
|
||||
inherit distutils-r1 eutils qt4-r2 toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="static analyzer of C/C++ code"
|
||||
HOMEPAGE="http://cppcheck.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm hppa sparc x86"
|
||||
IUSE="htmlreport pcre qt4"
|
||||
|
||||
RDEPEND="htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
|
||||
>=dev-libs/tinyxml2-2
|
||||
qt4? ( dev-qt/qtgui:4 )
|
||||
pcre? ( dev-libs/libpcre )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
append-cxxflags -std=c++0x
|
||||
|
||||
# Drop bundled libs, patch Makefile generator and re-run it
|
||||
rm -r externals/tinyxml || die
|
||||
epatch "${FILESDIR}"/${PN}-1.75-tinyxml2.patch
|
||||
tc-export CXX
|
||||
emake dmake
|
||||
./dmake || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use pcre ; then
|
||||
sed -e '/HAVE_RULES=/s:=no:=yes:' \
|
||||
-i Makefile
|
||||
fi
|
||||
if use qt4 ; then
|
||||
pushd gui
|
||||
qt4-r2_src_configure
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export LIBS="$(pkg-config --libs tinyxml2)"
|
||||
emake ${PN} man \
|
||||
CFGDIR="${EROOT}usr/share/${PN}/cfg" \
|
||||
DB2MAN="${EROOT}usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl"
|
||||
|
||||
if use qt4 ; then
|
||||
pushd gui
|
||||
qt4-r2_src_compile
|
||||
popd
|
||||
fi
|
||||
if use htmlreport ; then
|
||||
pushd htmlreport
|
||||
distutils-r1_src_compile
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# safe final version
|
||||
mv -v ${PN}{,.final}
|
||||
mv -v lib/library.o{,.final}
|
||||
mv -v cli/cppcheckexecutor.o{,.final}
|
||||
#trigger recompile with CFGDIR inside ${S}
|
||||
emake check CFGDIR="${S}/cfg"
|
||||
# restore
|
||||
mv -v ${PN}{.final,}
|
||||
mv -v lib/library.o{.final,}
|
||||
mv -v cli/cppcheckexecutor.o{.final,}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# it's not autotools-based, so "${ED}" here, not "${D}", bug 531760
|
||||
emake install DESTDIR="${ED}"
|
||||
|
||||
insinto "/usr/share/${PN}/cfg"
|
||||
doins cfg/*.cfg
|
||||
if use qt4 ; then
|
||||
dobin gui/${PN}-gui
|
||||
dodoc gui/{projectfile.txt,gui.${PN}}
|
||||
fi
|
||||
if use htmlreport ; then
|
||||
pushd htmlreport
|
||||
distutils-r1_src_install
|
||||
popd
|
||||
find "${D}" -name "*.egg-info" -delete
|
||||
else
|
||||
rm "${ED}/usr/bin/cppcheck-htmlreport" || die
|
||||
fi
|
||||
doman ${PN}.1
|
||||
dodoc -r triage
|
||||
}
|
||||
@@ -1,104 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
|
||||
inherit distutils-r1 eutils qt4-r2 toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="static analyzer of C/C++ code"
|
||||
HOMEPAGE="http://cppcheck.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~sparc ~x86"
|
||||
IUSE="htmlreport pcre qt4"
|
||||
|
||||
RDEPEND="htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
|
||||
>=dev-libs/tinyxml2-2
|
||||
qt4? ( dev-qt/qtgui:4 )
|
||||
pcre? ( dev-libs/libpcre )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
append-cxxflags -std=c++0x
|
||||
|
||||
# Drop bundled libs, patch Makefile generator and re-run it
|
||||
rm -r externals/tinyxml || die
|
||||
epatch "${FILESDIR}"/${PN}-1.75-tinyxml2.patch
|
||||
tc-export CXX
|
||||
emake dmake
|
||||
./dmake || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use pcre ; then
|
||||
sed -e '/HAVE_RULES=/s:=no:=yes:' \
|
||||
-i Makefile
|
||||
fi
|
||||
if use qt4 ; then
|
||||
pushd gui
|
||||
qt4-r2_src_configure
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export LIBS="$(pkg-config --libs tinyxml2)"
|
||||
emake ${PN} man \
|
||||
CFGDIR="${EROOT}usr/share/${PN}/cfg" \
|
||||
DB2MAN="${EROOT}usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl"
|
||||
|
||||
if use qt4 ; then
|
||||
pushd gui
|
||||
qt4-r2_src_compile
|
||||
popd
|
||||
fi
|
||||
if use htmlreport ; then
|
||||
pushd htmlreport
|
||||
distutils-r1_src_compile
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# safe final version
|
||||
mv -v ${PN}{,.final}
|
||||
mv -v lib/library.o{,.final}
|
||||
mv -v cli/cppcheckexecutor.o{,.final}
|
||||
#trigger recompile with CFGDIR inside ${S}
|
||||
emake check CFGDIR="${S}/cfg"
|
||||
# restore
|
||||
mv -v ${PN}{.final,}
|
||||
mv -v lib/library.o{.final,}
|
||||
mv -v cli/cppcheckexecutor.o{.final,}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# it's not autotools-based, so "${ED}" here, not "${D}", bug 531760
|
||||
emake install DESTDIR="${ED}"
|
||||
|
||||
insinto "/usr/share/${PN}/cfg"
|
||||
doins cfg/*.cfg
|
||||
if use qt4 ; then
|
||||
dobin gui/${PN}-gui
|
||||
dodoc gui/{projectfile.txt,gui.${PN}}
|
||||
fi
|
||||
if use htmlreport ; then
|
||||
pushd htmlreport
|
||||
distutils-r1_src_install
|
||||
popd
|
||||
find "${D}" -name "*.egg-info" -delete
|
||||
else
|
||||
rm "${ED}/usr/bin/cppcheck-htmlreport" || die
|
||||
fi
|
||||
doman ${PN}.1
|
||||
dodoc -r triage
|
||||
}
|
||||
@@ -1,104 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
|
||||
inherit distutils-r1 eutils qt4-r2 toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="static analyzer of C/C++ code"
|
||||
HOMEPAGE="http://cppcheck.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86"
|
||||
IUSE="htmlreport pcre qt4"
|
||||
|
||||
RDEPEND="htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
|
||||
>=dev-libs/tinyxml2-2
|
||||
qt4? ( dev-qt/qtgui:4 )
|
||||
pcre? ( dev-libs/libpcre )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
append-cxxflags -std=c++0x
|
||||
|
||||
# Drop bundled libs, patch Makefile generator and re-run it
|
||||
rm -r externals/tinyxml || die
|
||||
epatch "${FILESDIR}"/${PN}-1.75-tinyxml2.patch
|
||||
tc-export CXX
|
||||
emake dmake
|
||||
./dmake || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use pcre ; then
|
||||
sed -e '/HAVE_RULES=/s:=no:=yes:' \
|
||||
-i Makefile
|
||||
fi
|
||||
if use qt4 ; then
|
||||
pushd gui
|
||||
qt4-r2_src_configure
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export LIBS="$(pkg-config --libs tinyxml2)"
|
||||
emake ${PN} man \
|
||||
CFGDIR="${EROOT}usr/share/${PN}/cfg" \
|
||||
DB2MAN="${EROOT}usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl"
|
||||
|
||||
if use qt4 ; then
|
||||
pushd gui
|
||||
qt4-r2_src_compile
|
||||
popd
|
||||
fi
|
||||
if use htmlreport ; then
|
||||
pushd htmlreport
|
||||
distutils-r1_src_compile
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# safe final version
|
||||
mv -v ${PN}{,.final}
|
||||
mv -v lib/library.o{,.final}
|
||||
mv -v cli/cppcheckexecutor.o{,.final}
|
||||
#trigger recompile with CFGDIR inside ${S}
|
||||
emake check CFGDIR="${S}/cfg"
|
||||
# restore
|
||||
mv -v ${PN}{.final,}
|
||||
mv -v lib/library.o{.final,}
|
||||
mv -v cli/cppcheckexecutor.o{.final,}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# it's not autotools-based, so "${ED}" here, not "${D}", bug 531760
|
||||
emake install DESTDIR="${ED}"
|
||||
|
||||
insinto "/usr/share/${PN}/cfg"
|
||||
doins cfg/*.cfg
|
||||
if use qt4 ; then
|
||||
dobin gui/${PN}-gui
|
||||
dodoc gui/{projectfile.txt,gui.${PN}}
|
||||
fi
|
||||
if use htmlreport ; then
|
||||
pushd htmlreport
|
||||
distutils-r1_src_install
|
||||
popd
|
||||
find "${D}" -name "*.egg-info" -delete
|
||||
else
|
||||
rm "${ED}/usr/bin/cppcheck-htmlreport" || die
|
||||
fi
|
||||
doman ${PN}.1
|
||||
dodoc -r triage
|
||||
}
|
||||
Reference in New Issue
Block a user