SUMMARY="Decodes BIOS SMBIOS/DMI tables"
DESCRIPTION="
Reports information about your system's hardware as described in your system \
BIOS according to the SMBIOS/DMI standard
"
HOMEPAGE="http://www.nongnu.org/dmidecode/"
SRC_URI="http://download.savannah.gnu.org/releases/dmidecode/dmidecode-2.12.tar.gz"
CHECKSUM_SHA256="5a8214b99c1762f4510bd92baa279336e5fed6e5cd2e418d46d95a4ecc783922"
REVISION="2"
LICENSE="GNU GPL v2"
COPYRIGHT="2000-2002 Alan Cox, 2002-2010 Jean Delvare"

ARCHITECTURES="x86_gcc2 ?x86"

PROVIDES="
	dmidecode = $portVersion
	cmd:dmidecode = $portVersion
	"
REQUIRES="
	haiku
	"
BUILD_REQUIRES="
	haiku_devel >= $haikuVersion
	"
BUILD_PREREQUIRES="
	cmd:make
	cmd:gcc
	"

BUILD()
{
	make
}

INSTALL()
{
	make install prefix=$prefix \
		sbindir=$prefix/bin \
		mandir=$prefix/documentation/man \
		docdir=$prefix/documentation/dmidecode
}

