summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2014-01-08 22:33:20 +0000
committerMichael Weber <xmw@gentoo.org>2014-01-08 22:33:20 +0000
commit3c1fa020db3317e13da5132999cf8439a29a5e1c (patch)
tree80eb111bb6f064a347d815ebf1e684224c0df111 /dev-util/cppcheck
parentcleanup vdr-plugin.eclass depended ebuild (diff)
downloadgentoo-2-3c1fa020db3317e13da5132999cf8439a29a5e1c.tar.gz
gentoo-2-3c1fa020db3317e13da5132999cf8439a29a5e1c.tar.bz2
gentoo-2-3c1fa020db3317e13da5132999cf8439a29a5e1c.zip
Version bump
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Diffstat (limited to 'dev-util/cppcheck')
-rw-r--r--dev-util/cppcheck/ChangeLog9
-rw-r--r--dev-util/cppcheck/cppcheck-1.63.ebuild60
2 files changed, 67 insertions, 2 deletions
diff --git a/dev-util/cppcheck/ChangeLog b/dev-util/cppcheck/ChangeLog
index b2036d5582f4..a8a3d050320c 100644
--- a/dev-util/cppcheck/ChangeLog
+++ b/dev-util/cppcheck/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/cppcheck
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cppcheck/ChangeLog,v 1.43 2013/12/03 08:53:50 xmw Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cppcheck/ChangeLog,v 1.44 2014/01/08 22:33:20 xmw Exp $
+
+*cppcheck-1.63 (08 Jan 2014)
+
+ 08 Jan 2014; Michael Weber <xmw@gentoo.org> +cppcheck-1.63.ebuild:
+ Version bump
*cppcheck-1.62 (03 Dec 2013)
*cppcheck-1.61 (03 Dec 2013)
diff --git a/dev-util/cppcheck/cppcheck-1.63.ebuild b/dev-util/cppcheck/cppcheck-1.63.ebuild
new file mode 100644
index 000000000000..0338a9be13be
--- /dev/null
+++ b/dev-util/cppcheck/cppcheck-1.63.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cppcheck/cppcheck-1.63.ebuild,v 1.1 2014/01/08 22:33:20 xmw Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
+
+inherit distutils-r1 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? ( ${PYTHON_DEPS} )
+ qt4? ( dev-qt/qtgui:4 )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ tc-export CXX
+ if use qt4 ; then
+ pushd gui
+ qt4-r2_src_configure
+ popd
+ fi
+}
+
+src_compile() {
+ emake
+ 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_install() {
+ emake install DESTDIR="${D}"
+ dodoc readme.txt
+ if use qt4 ; then
+ dobin gui/${PN}-gui
+ dodoc readme_gui.txt gui/{projectfile.txt,gui.cppcheck}
+ fi
+ if use htmlreport ; then
+ pushd htmlreport
+ distutils-r1_src_install
+ popd
+ find "${D}" -name "*.egg-info" -delete
+ fi
+}