opt/mdadm/Pkgfile

18 lines
549 B
Plaintext
Raw Normal View History

2006-02-23 15:26:10 +00:00
# Description: Multiple device (RAID) admin tool
# URL: http://www.cse.unsw.edu.au/~neilb/source/mdadm/
2008-07-11 09:29:19 +02:00
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
2006-02-23 15:26:10 +00:00
name=mdadm
2009-06-04 11:17:33 +02:00
version=3.0
release=2
2009-05-15 09:54:59 +02:00
source=(http://www.kernel.org/pub/linux/utils/raid/$name/$name-$version.tar.gz
2009-06-04 11:17:33 +02:00
$name-$version-vol_id.patch)
2006-02-23 15:26:10 +00:00
build() {
cd $name-$version
2009-06-04 11:17:33 +02:00
patch -p1 -i $SRC/$name-$version-vol_id.patch
make CXFLAGS="$CFLAGS" all mdadm.static
make DESTDIR=$PKG MANDIR=/usr/man install
install -m755 mdadm.static $PKG/sbin
2006-02-23 15:26:10 +00:00
}