Files
haikuports/sys-apps/dmidecode/dmidecode-3.2.recipe
2019-03-22 22:17:52 +01:00

44 lines
970 B
Bash

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/"
COPYRIGHT="2000-2002 Alan Cox, 2002-2010 Jean Delvare"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://download.savannah.gnu.org/releases/dmidecode/dmidecode-$portVersion.tar.xz"
CHECKSUM_SHA256="077006fa2da0d06d6383728112f2edef9684e9c8da56752e97cd45a11f838edd"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
dmidecode = $portVersion
cmd:biosdecode = $portVersion
cmd:dmidecode = $portVersion
cmd:ownership = $portVersion
cmd:vpddecode = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:make
"
BUILD()
{
make LDFLAGS="-lnetwork"
}
INSTALL()
{
make install prefix=$prefix \
sbindir=$prefix/bin \
mandir=$prefix/documentation/man \
docdir=$prefix/documentation/dmidecode
}