summaryrefslogtreecommitdiffstats
path: root/base/mdadm/Pkgfile
blob: d7b3ff54b247c80dd423c3577865600b6eafb6a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Description: Gestionnaire de raid 
# URL: http://www.cse.unsw.edu.au/~neilb/source/mdadm/
# Maintainer: NutyX core team
# Packager: thierryn1 at hispeed dot ch

name=mdadm
version=3.2.1
release=1
source=(ftp://ftp.kernel.org/pub/linux/utils/raid/$name/$name-$version.tar.bz2\
	http://nutyx.meticul.eu/files/patchs/$name/mdadm-3.2.1-gcc-4.6-1.patch)

build() {
	cd $name-$version
	patch -Np1 -i ../mdadm-3.2.1-gcc-4.6-1.patch
	make
	make INSTALL=/usr/bin/install DESTDIR=$PKG install
	rm -r $PKG/lib
}