diff options
author | Patrick Lauer <patrick@gentoo.org> | 2010-05-18 10:13:31 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2010-05-18 10:13:31 +0000 |
commit | 35414c63df33129c9da8ad7018ee41cef5204553 (patch) | |
tree | de0926e64c73f5a319cdb5dbdd10d786c9f0ea3e /dev-util/cppcheck | |
parent | [dev-vcs/svk] fixed HOMEPAGE, bug #319229 (diff) | |
download | gentoo-2-35414c63df33129c9da8ad7018ee41cef5204553.tar.gz gentoo-2-35414c63df33129c9da8ad7018ee41cef5204553.tar.bz2 gentoo-2-35414c63df33129c9da8ad7018ee41cef5204553.zip |
Bump for #319249
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/cppcheck')
-rw-r--r-- | dev-util/cppcheck/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/cppcheck/cppcheck-1.43.ebuild | 52 |
2 files changed, 58 insertions, 1 deletions
diff --git a/dev-util/cppcheck/ChangeLog b/dev-util/cppcheck/ChangeLog index 0b57f534f4f4..aed013f99df5 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.13 2010/05/03 17:33:51 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/cppcheck/ChangeLog,v 1.14 2010/05/18 10:13:31 patrick Exp $ + +*cppcheck-1.43 (18 May 2010) + + 18 May 2010; Patrick Lauer <patrick@gentoo.org> +cppcheck-1.43.ebuild: + Bump for #319249 *cppcheck-1.41-r1 (03 May 2010) diff --git a/dev-util/cppcheck/cppcheck-1.43.ebuild b/dev-util/cppcheck/cppcheck-1.43.ebuild new file mode 100644 index 000000000000..bd0fc2b72b14 --- /dev/null +++ b/dev-util/cppcheck/cppcheck-1.43.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.43.ebuild,v 1.1 2010/05/18 10:13:31 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 +} |