# SliTaz package receipt.

PACKAGE="dmidecode"
VERSION="2.11"
CATEGORY="system-tools"
SHORT_DESC="SMBIOS/DMI reports."
MAINTAINER="erjo@slitaz.org"
DEPENDS=""
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.nongnu.org/dmidecode/"
WGET_URL="http://download.savannah.gnu.org/releases/dmidecode/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	make
	make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/sbin
	cp -a $_pkg/usr/local/sbin/* $fs/usr/sbin
}