diff options
author | Michael Weber <xmw@gentoo.org> | 2011-03-05 00:42:56 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2011-03-05 00:42:56 +0000 |
commit | 0e27d6032e16890fca133d6e17b8da9b5599c8b8 (patch) | |
tree | 20864ea064cf4ef1452f0236a2225dc8d7790d86 /dev-util | |
parent | stable ppc, bug 356481 (diff) | |
download | historical-0e27d6032e16890fca133d6e17b8da9b5599c8b8.tar.gz historical-0e27d6032e16890fca133d6e17b8da9b5599c8b8.tar.bz2 historical-0e27d6032e16890fca133d6e17b8da9b5599c8b8.zip |
version bump
Package-Manager: portage-2.1.9.42/cvs/Linux x86_64
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/cppcheck/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/cppcheck/Manifest | 4 | ||||
-rw-r--r-- | dev-util/cppcheck/cppcheck-1.47.ebuild | 83 |
3 files changed, 92 insertions, 2 deletions
diff --git a/dev-util/cppcheck/ChangeLog b/dev-util/cppcheck/ChangeLog index 62be7a56e015..0541b67d57f9 100644 --- a/dev-util/cppcheck/ChangeLog +++ b/dev-util/cppcheck/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/cppcheck # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/cppcheck/ChangeLog,v 1.22 2011/01/08 20:18:03 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/cppcheck/ChangeLog,v 1.23 2011/03/05 00:42:56 xmw Exp $ + +*cppcheck-1.47 (05 Mar 2011) + + 05 Mar 2011; Michael Weber <xmw@gentoo.org> +cppcheck-1.47.ebuild: + version bump 08 Jan 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> cppcheck-1.46.1.ebuild: diff --git a/dev-util/cppcheck/Manifest b/dev-util/cppcheck/Manifest index c5e3033bbd39..45f12db11636 100644 --- a/dev-util/cppcheck/Manifest +++ b/dev-util/cppcheck/Manifest @@ -1,4 +1,6 @@ DIST cppcheck-1.46.1.tar.bz2 676586 RMD160 5a82adb010c9bee0e96d2ac1fddd4b5fc4f7ad5c SHA1 fb1bc1b44341c8fd111e06c217c91f108142b71c SHA256 e91f6be0f4aeeda3a3bbfd19caa9f7e35013018d9a9f164653bad1f266f08f34 +DIST cppcheck-1.47.tar.bz2 794349 RMD160 4a511aecf9a4cec5992f50ff6b29e28bd058ce46 SHA1 ab30d8968064d50d2e1022c749b0d7d10c8b65ae SHA256 60d290088a131b49ed4b30cc6940b6a041b59002404223500dce65d71c2a46ae EBUILD cppcheck-1.46.1.ebuild 1561 RMD160 8e28c345ff8a9b84099280301b61f88270f3954e SHA1 f146e84d813116916632a8b009242a05a2688435 SHA256 b73ca03e2a9f00e6fb7dae69c44479ad26a3dfc16dd7e1d5103c89848e307c22 -MISC ChangeLog 3566 RMD160 7c9a278f792ae19e505f2fa6b60147e64faac49c SHA1 4989960c3f96798bcef79b55283fa3bc5f51c57b SHA256 7c031da8fceba8412d4f0ba65b88b9faa575701f8aad91fb9762a956d03acce9 +EBUILD cppcheck-1.47.ebuild 1554 RMD160 bbae351c9ca5b6741d28d35393defca77666b785 SHA1 4ecef162b5ef10e4896109344623e5ac53cc86bb SHA256 1e8a119ab9871e5d7fa2938c68ae677a600e6af7c64a5f4e291ce1420fcf44c9 +MISC ChangeLog 3676 RMD160 0042d72f5f1b91e33e5b0cfe8074a2a48f024996 SHA1 fa76d55c45097777c3134af8505b7a1392927731 SHA256 dd89b0b3fac96c11898bcdf1c5233d960ddb119bcb5f24d271397b1e5b40db92 MISC metadata.xml 316 RMD160 52d3658d54e00fc0ff3e31bc7cb5b0b6fb916eb5 SHA1 9299471a24c2d7382e3a07974ad58e1647b95e55 SHA256 1b77a4e77847849f22187f30f9b3dfa9c2aa39aa95bcf2a0025577d8883da65c diff --git a/dev-util/cppcheck/cppcheck-1.47.ebuild b/dev-util/cppcheck/cppcheck-1.47.ebuild new file mode 100644 index 000000000000..13e290b2ba77 --- /dev/null +++ b/dev-util/cppcheck/cppcheck-1.47.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/cppcheck/cppcheck-1.47.ebuild,v 1.1 2011/03/05 00:42:56 xmw Exp $ + +EAPI="3" +PYTHON_DEPEND="htmlreport? 2" + +inherit distutils eutils qt4-r2 toolchain-funcs + +DESCRIPTION="static analyzer of C/C++ code" +HOMEPAGE="http://apps.sourceforge.net/trac/cppcheck/" +SRC_URI="mirror://sourceforge/cppcheck/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="htmlreport qt4" + +DEPEND="htmlreport? ( dev-python/pygments ) + qt4? ( x11-libs/qt-gui:4 + x11-libs/qt-assistant:4 )" +RDEPEND="${DEPEND}" + +pkg_setup() { + if use htmlreport ; then + python_set_active_version 2 + python_pkg_setup + fi +} + +src_prepare() { + if use htmlreport ; then + pushd htmlreport + python_convert_shebangs -r 2 . + distutils_src_prepare + popd + fi +} + +src_configure() { + tc-export CXX + if use qt4 ; then + pushd gui + qt4-r2_src_configure + popd + fi +} + +src_compile() { + emake || die + if use qt4 ; then + pushd gui + qt4-r2_src_compile + popd + fi + if use htmlreport ; then + pushd htmlreport + distutils_src_compile + popd + fi +} + +src_install() { + emake install DESTDIR="${D}" || die + dodoc readme.txt || die + if use qt4 ; then + dobin gui/${PN}-gui || die + dodoc readme_gui.txt gui/{projectfile.txt,gui.cppcheck} || die + fi + if use htmlreport ; then + pushd htmlreport + distutils_src_install + popd + fi +} + +pkg_postinst() { + use htmlreport && distutils_pkg_postinst +} + +pkg_postrm() { + use htmlreport && distutils_pkg_postrm +} |