opt/mdadm/Pkgfile

17 lines
435 B
Plaintext

# Description: Multiple device (RAID) admin tool
# URL: http://neil.brown.name/blog/mdadm
# Maintainer: Juergen Daubert, jue at crux dot nu
name=mdadm
version=4.1
release=2
source=(http://www.kernel.org/pub/linux/utils/raid/$name/$name-$version.tar.xz)
build() {
cd $name-$version
export CXFLAGS="$CFLAGS -Wno-error"
make all mdadm.static
make DESTDIR=$PKG install
install -m755 mdadm.static $PKG/sbin
}