2006-02-23 15:26:10 +00:00
|
|
|
# Description: Multiple device (RAID) admin tool
|
2022-01-04 13:39:46 +01:00
|
|
|
# URL: http://neil.brown.name/blog/mdadm
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=mdadm
|
2024-02-22 10:07:32 +01:00
|
|
|
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
|
2022-05-02 10:39:02 +02:00
|
|
|
$name-$version-in_initrd-collision.patch)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build() {
|
2022-01-04 13:39:46 +01:00
|
|
|
cd $name-$version
|
2022-05-02 10:39:02 +02:00
|
|
|
|
|
|
|
# From gentoo
|
|
|
|
patch -p1 -i $SRC/$name-$version-in_initrd-collision.patch
|
|
|
|
|
|
|
|
make all mdadm.static
|
2022-01-04 13:39:46 +01:00
|
|
|
make DESTDIR=$PKG install
|
2022-05-02 10:39:02 +02:00
|
|
|
install -m0755 mdadm.static $PKG/sbin
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|