# Description: The mdadm package contains administration tools for software RAID.
# URL: http://www.cse.unsw.edu.au/~neilb/source/mdadm/
# Packager: pierre at nutyx dot org

name=mdadm
version=3.4
release=1

source=(http://www.kernel.org/pub/linux/utils/raid/$name/$name-$version.tar.xz)

build() {
cd $name-$version
sed -i 's/Wall -Werror/Wall/' Makefile
make
make INSTALL=/usr/bin/install DESTDIR=$PKG install
rm -r $PKG/lib
}
