diff options
author | Patrick Lauer <patrick@gentoo.org> | 2010-11-02 18:29:23 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2010-11-02 18:29:23 +0000 |
commit | 81529750a5c3397139dde88ee2d6475834009e63 (patch) | |
tree | cd165d29f587f9adfe09db32f9687de22c88cc03 /dev-util | |
parent | Initial commit. Fixes bug #144453 (diff) | |
download | gentoo-2-81529750a5c3397139dde88ee2d6475834009e63.tar.gz gentoo-2-81529750a5c3397139dde88ee2d6475834009e63.tar.bz2 gentoo-2-81529750a5c3397139dde88ee2d6475834009e63.zip |
Bump for #339734
(Portage version: 2.2.0_alpha3/cvs/Linux x86_64)
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/cppcheck/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/cppcheck/cppcheck-1.45.ebuild | 52 |
2 files changed, 58 insertions, 1 deletions
diff --git a/dev-util/cppcheck/ChangeLog b/dev-util/cppcheck/ChangeLog index 66252bae46c8..e1634252dc2d 100644 --- a/dev-util/cppcheck/ChangeLog +++ b/dev-util/cppcheck/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/cppcheck # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/cppcheck/ChangeLog,v 1.16 2010/08/13 11:25:45 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/cppcheck/ChangeLog,v 1.17 2010/11/02 18:29:23 patrick Exp $ + +*cppcheck-1.45 (02 Nov 2010) + + 02 Nov 2010; Patrick Lauer <patrick@gentoo.org> +cppcheck-1.45.ebuild: + Bump for #339734 *cppcheck-1.44 (13 Aug 2010) diff --git a/dev-util/cppcheck/cppcheck-1.45.ebuild b/dev-util/cppcheck/cppcheck-1.45.ebuild new file mode 100644 index 000000000000..afc5ef3b9170 --- /dev/null +++ b/dev-util/cppcheck/cppcheck-1.45.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/cppcheck/cppcheck-1.45.ebuild,v 1.1 2010/11/02 18:29:23 patrick Exp $ + +EAPI=2 +inherit eutils toolchain-funcs qt4-r2 + +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="qt4" + +DEPEND="qt4? ( x11-libs/qt-gui:4 )" + +src_prepare() { + sed -i \ + -e '/^CXXFLAGS/d' \ + -e '/^CXX=/d' \ + Makefile \ + || die + tc-export CXX +} + +src_configure() { + if use qt4; then + pushd gui + eqmake4 gui.pro + popd + fi +} + +src_compile() { + emake || die "make failed" + if use qt4; then + pushd gui + emake || die "make gui failed" + popd + fi +} + +src_install() { + emake install DESTDIR="${D}" || die + dodoc readme.txt + if use qt4; then + newbin gui/gui cppcheck-gui + dodoc readme_gui.txt gui/projectfile.txt gui/gui.cppcheck + fi +} |