blob: 03e8cac8d18191f7d4dc756e9d1fcd4bcaf6c72d (
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-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-devel/sparse/sparse-0.3-r1.ebuild,v 1.5 2007/09/20 18:46:57 angelos Exp $
inherit eutils multilib
DESCRIPTION="C semantic parser"
HOMEPAGE="http://kernel.org/pub/linux/kernel/people/josh/sparse/"
SRC_URI="http://kernel.org/pub/linux/kernel/people/josh/sparse/dist/${P}.tar.gz"
LICENSE="OSL-1.1"
SLOT="0"
KEYWORDS="amd64 ~arm hppa ~ia64 ppc ~s390 ~sh x86"
IUSE=""
DEPEND=""
RDEPEND=""
src_unpack() {
unpack ${A}
cd "${WORKDIR}"
epatch "${FILESDIR}"/${P}-makefile-fix.patch
}
src_compile() {
emake CFLAGS="${CFLAGS} -fpic" LDFLAGS="${LDFLAGS}" || die
}
src_install() {
emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install || die "make install failed"
dodoc FAQ README
}
|