# SliTaz package receipt.

PACKAGE="hdparm"
VERSION="9.37"
CATEGORY="system-tools"
SHORT_DESC="hdparm - get/set ATA/SATA drive parameters under Linux"
MAINTAINER="liupeng <hipeng@yahoo.com>"
DEPENDS="glibc"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://sourceforge.net/projects/hdparm/"
WGET_URL="$SF_MIRROR/$PACKAGE/$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/sbin
	cp -a $_pkg/sbin/hdparm $fs/sbin/
}