# SliTaz package receipt.

PACKAGE="mdadm"
VERSION="2.6.7"
CATEGORY="system-tools"
SHORT_DESC="Software RAID tools"
MAINTAINER="b1+slitaz@nagel.org"
DEPENDS=""
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.us.kernel.org/pub/linux/utils/raid/mdadm/ANNOUNCE"
WGET_URL="http://www.us.kernel.org/pub/linux/utils/raid/mdadm/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	make mdadm
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/bin
	cp -a $src/mdadm $fs/usr/bin
}