22 lines
588 B
Plaintext
22 lines
588 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.3
|
|
release=1
|
|
#source=(https://www.kernel.org/pub/linux/utils/raid/$name/$name-$version.tar.xz
|
|
source=(https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/snapshot/$name-$version.tar.gz
|
|
$name-$version-in_initrd-collision.patch)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
# From gentoo
|
|
patch -p1 -i $SRC/$name-$version-in_initrd-collision.patch
|
|
|
|
make all mdadm.static
|
|
make DESTDIR=$PKG install
|
|
install -m0755 mdadm.static $PKG/sbin
|
|
}
|