0
0
Fork 0
haikuports/sys-apps/dmidecode/dmidecode-3.3.recipe

44 lines
954 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="82c737a780614c38a783e8055340d295e332fb12c7f418b5d21a0797d3fb1455"
ARCHITECTURES="all"
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
}