# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="4"

inherit eutils toolchain-funcs

DESCRIPTION="Process information and statistics using the kernel /proc interface"
HOMEPAGE="http://www.ward.nu/computer/psinfo/"
SRC_URI="http://www.ward.nu/computer/${PN}/${P}.tar.gz"

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

src_prepare () {
	epatch "${FILESDIR}"/${P}-asneeded.patch
	tc-export CC
}

#src_compile() {
#	emake \
#		CFLAGS="${CFLAGS}" \
#		CC=$(tc-getCC)
#}

#src_install() {
#	dobin ${PN}
#	dodoc README
#}