blob: 0e8421db097211ab78b218e44e7a89655296b1fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit autotools
inherit git
DESCRIPTION="Static analysis for C"
HOMEPAGE="http://repo.or.cz/w/smatch.git"
EGIT_REPO_URI="git://repo.or.cz/smatch.git"
KEYWORDS=""
LICENSE="OSL-1.1"
SLOT="0"
IUSE=""
DEPEND=""
RDEPEND="!sys-devel/sparse"
src_compile() {
sed -i \
-e '/^PREFIX=/s:=.*:=/usr:' \
-e "/^LIBDIR=/s:/lib:/$(get_libdir):" \
Makefile || die
epatch "${FILESDIR}/${PN}-fix-compiler-warnings.patch"
}
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
dodoc FAQ README README-smatch
}
|