summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2012-03-13 13:47:23 +0000
committerMichael Weber <xmw@gentoo.org>2012-03-13 13:47:23 +0000
commit5d640d6825d692de42b3480c9b357a8b5a0ab69c (patch)
treebcb926c18c186b1260c8ace0b15a816a6c2db8c7 /dev-util/cppcheck
parentChanged src_install() to use emake instead of make (diff)
downloadhistorical-5d640d6825d692de42b3480c9b357a8b5a0ab69c.tar.gz
historical-5d640d6825d692de42b3480c9b357a8b5a0ab69c.tar.bz2
historical-5d640d6825d692de42b3480c9b357a8b5a0ab69c.zip
Version bump (thanks Jaak Ristioja, bug 407973)
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64
Diffstat (limited to 'dev-util/cppcheck')
-rw-r--r--dev-util/cppcheck/ChangeLog7
-rw-r--r--dev-util/cppcheck/Manifest10
-rw-r--r--dev-util/cppcheck/cppcheck-1.53.ebuild77
3 files changed, 89 insertions, 5 deletions
diff --git a/dev-util/cppcheck/ChangeLog b/dev-util/cppcheck/ChangeLog
index d85297f9d1c1..d97e77a2dcb1 100644
--- a/dev-util/cppcheck/ChangeLog
+++ b/dev-util/cppcheck/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/cppcheck
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cppcheck/ChangeLog,v 1.29 2012/02/07 03:28:21 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cppcheck/ChangeLog,v 1.30 2012/03/13 13:47:23 xmw Exp $
+
+*cppcheck-1.53 (13 Mar 2012)
+
+ 13 Mar 2012; Michael Weber <xmw@gentoo.org> +cppcheck-1.53.ebuild:
+ Version bump (thanks Jaak Ristioja, bug 407973)
*cppcheck-1.52 (07 Feb 2012)
diff --git a/dev-util/cppcheck/Manifest b/dev-util/cppcheck/Manifest
index 5c0c7a1fc472..21829afb618f 100644
--- a/dev-util/cppcheck/Manifest
+++ b/dev-util/cppcheck/Manifest
@@ -3,14 +3,16 @@ Hash: SHA256
DIST cppcheck-1.51.tar.bz2 920230 RMD160 ddf0e232a74900498846cf4d90394dd69c144b8e SHA1 d6774e123b9fa086cb6cc3722743e1de7a1f0b0c SHA256 856b24f96e7c784936371457e429dd5bb7436e5fed502315e49a2cba0bebc05c
DIST cppcheck-1.52.tar.bz2 965225 RMD160 b0d6876d1213ffc9bf075517c6767bd5a103a9bf SHA1 56cc54f9d0af41dcfee5560e897fd3e1357712bc SHA256 655e4ba4452148342089a83df09c8d2ebceb528e0811bdf83f3a1e3c830e7796
+DIST cppcheck-1.53.tar.bz2 995994 RMD160 b1bdb211595f6f92b494b5460b998a168c716bdf SHA1 e1c8431cab1ef07c725f1556bdb0fc5d3e912c9f SHA256 878db83d3954d0c45135362308da951ec0670a160c76a7410466a9b539e8677f
EBUILD cppcheck-1.51.ebuild 1521 RMD160 13fc7a9a5ad1f7ceabcd76113c5c88e04e6d81e0 SHA1 b6c4ace5e277a59c79f1349b6b689453585293d4 SHA256 c022f713a1a359213b60a8a0deabfd96f3d7d2a21ef379556e22f36314338837
EBUILD cppcheck-1.52.ebuild 1521 RMD160 1593f332d769ac92553224d4a90e9766f02c6acd SHA1 ec3d1209f9c1a529c7de349158ea6d176e5851d2 SHA256 27667065d37da0d99e4a62bb0e679615dc236b7457e965d59895d53b5d89ef5c
-MISC ChangeLog 4700 RMD160 4e45685d68f763271788e5cca47eefae22767b64 SHA1 d0cc24b929c71731a599468e9754f2bf807ec665 SHA256 e789c8401953404749016f985d6d1aff7b7f2c3b6c155ded7704fc7b77ecb422
+EBUILD cppcheck-1.53.ebuild 1521 RMD160 7119b3afe5c782f181ebc23bc646dc7111c74224 SHA1 ea700d758d272b8ebe693ca56bdcb919380efda3 SHA256 520e4931a599b7d7347eca1f0cfae4d7d53e5181a3ba4f21e6a2b300741cb30d
+MISC ChangeLog 4850 RMD160 de59acb8d34d9843426f0304830e47fbe588f1d2 SHA1 e686f510593ce13f3bd49811d82b29acdf2717a2 SHA256 17ca70232bc76b7d9162c28d6fb8388b2171edd57e63539a438740d4b8811d37
MISC metadata.xml 295 RMD160 218d80509b20b5f68ef61be37484665539688974 SHA1 fb22ef816d952cb04b800cad2790499a7a720213 SHA256 4526a4860c02569699367a86914fabb0c0f4d7939ebbba1f728fc5bff7356583
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAk8wmlsACgkQknrdDGLu8JCWHAD+Mb2b96YAgnLuuhMqYaWPkRiw
-xEmjxybnhhUXjdFS498A/A9DMmccTbhF22NXxgfdFj71HQP3S7tMGubkseoWRFC3
-=kVgv
+iF4EAREIAAYFAk9fUAkACgkQknrdDGLu8JCEqgD/f1M1AlyoEwWyQPXn05LQbtj+
+EppO4jC700YdHp3UsSAA/jWI5kbxg48UobS/RDJOeEsnHRjGCS2H2w+YaO6g8dPZ
+=eXgv
-----END PGP SIGNATURE-----
diff --git a/dev-util/cppcheck/cppcheck-1.53.ebuild b/dev-util/cppcheck/cppcheck-1.53.ebuild
new file mode 100644
index 000000000000..b97532e3ab17
--- /dev/null
+++ b/dev-util/cppcheck/cppcheck-1.53.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cppcheck/cppcheck-1.53.ebuild,v 1.1 2012/03/13 13:47:23 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}"
+
+DISTUTILS_SETUP_FILES=("htmlreport|setup.py")
+
+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
+ use htmlreport && distutils_src_compile
+}
+
+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
+ use htmlreport && distutils_src_install
+}
+
+pkg_postinst() {
+ use htmlreport && distutils_pkg_postinst
+}
+
+pkg_postrm() {
+ use htmlreport && distutils_pkg_postrm
+}