# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/splint/splint-3.1.1.ebuild,v 1.8 2004/10/01 03:36:07 gongloo Exp $ DESCRIPTION="Check C programs for vulnerabilities and programming mistakes" HOMEPAGE="http://lclint.cs.virginia.edu/" SRC_URI="http://www.splint.org/downloads/${P}.src.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ppc ~amd64 ~ppc-macos" IUSE="" DEPEND="sys-devel/gcc" src_compile() { econf || die emake -j1 || die "emake failed" } src_install() { make DESTDIR=${D} install || die dobin ${S}/splint doman ${S}/doc/*.1 }