| # Copyright 1999-2007 Gentoo Foundation |
# Copyright 1999-2008 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
# Distributed under the terms of the GNU General Public License v2 |
| # $Header$ |
# $Header$ |
| |
|
| inherit flag-o-matic |
inherit flag-o-matic toolchain-funcs |
| |
|
| DESCRIPTION="DMI (Desktop Management Interface) table related utilities" |
DESCRIPTION="DMI (Desktop Management Interface) table related utilities" |
| HOMEPAGE="http://www.nongnu.org/dmidecode/" |
HOMEPAGE="http://www.nongnu.org/dmidecode/" |
| } |
} |
| |
|
| src_compile() { |
src_compile() { |
| emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "emake failed" |
emake \ |
| |
CFLAGS="${CFLAGS}" \ |
| |
LDFLAGS="${LDFLAGS}" \ |
| |
CC=$(tc-getCC) \ |
| |
|| die "emake failed" |
| } |
} |
| |
|
| src_install() { |
src_install() { |
| make install DESTDIR="${D}" || die "make install failed" |
emake install DESTDIR="${D}" || die "make install failed" |
| prepalldocs |
prepalldocs |
| } |
} |