# 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.41.ebuild,v 1.1 2010/03/07 17:08:26 patrick Exp $ EAPI=2 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_prepare() { sed -i \ -e '/^CXXFLAGS/d' \ -e '/^CXX=/d' \ Makefile \ || die tc-export CXX } src_install() { emake install DESTDIR="${D}" || die dodoc readme.txt }