summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-util/cppcheck/ChangeLog7
-rw-r--r--dev-util/cppcheck/cppcheck-1.33.ebuild29
2 files changed, 35 insertions, 1 deletions
diff --git a/dev-util/cppcheck/ChangeLog b/dev-util/cppcheck/ChangeLog
index ab97754b0956..aa3b79a590ae 100644
--- a/dev-util/cppcheck/ChangeLog
+++ b/dev-util/cppcheck/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/cppcheck
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cppcheck/ChangeLog,v 1.4 2009/05/10 19:49:57 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cppcheck/ChangeLog,v 1.5 2009/06/07 19:04:12 vapier Exp $
+
+*cppcheck-1.33 (07 Jun 2009)
+
+ 07 Jun 2009; Mike Frysinger <vapier@gentoo.org> +cppcheck-1.33.ebuild:
+ Version bump.
*cppcheck-1.32 (10 May 2009)
diff --git a/dev-util/cppcheck/cppcheck-1.33.ebuild b/dev-util/cppcheck/cppcheck-1.33.ebuild
new file mode 100644
index 000000000000..40ef4bd04343
--- /dev/null
+++ b/dev-util/cppcheck/cppcheck-1.33.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cppcheck/cppcheck-1.33.ebuild,v 1.1 2009/06/07 19:04:12 vapier Exp $
+
+inherit eutils 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=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e '/^CXXFLAGS/s:=:+=:' \
+ -e '/^CXX=/d' \
+ Makefile
+ tc-export CXX
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ dodoc readme.txt
+}