summaryrefslogtreecommitdiff
blob: 2f4e48584a315ef4b0432f3aa172adaba1004a40 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libproccpuinfo/libproccpuinfo-0.0.6.1.ebuild,v 1.3 2006/09/04 04:10:00 compnerd Exp $

DESCRIPTION="architecture independent C API for reading /proc/cpuinfo"
HOMEPAGE="https://savannah.nongnu.org/projects/proccpuinfo/"
SRC_URI="http://download.savannah.nongnu.org/releases/proccpuinfo/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 x86"
IUSE="sender"

DEPEND=">=sys-devel/flex-2.5.33
	sender? ( >=net-misc/neon-0.26 )"
RDEPEND="${DEPEND}"

src_compile() {
	econf $(use_enable sender) || die "econf failed"
	emake || die "emake failed"
}

src_install() {
	emake install DESTDIR="${D}" || die "emake failed"
	dodoc AUTHORS ChangeLog HACKING NEWS README THANKS TODO
}