summaryrefslogtreecommitdiffstats
path: root/extra/mdadm/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mdadm/Pkgfile')
-rwxr-xr-xextra/mdadm/Pkgfile18
1 files changed, 18 insertions, 0 deletions
diff --git a/extra/mdadm/Pkgfile b/extra/mdadm/Pkgfile
new file mode 100755
index 000000000..d7b3ff54b
--- /dev/null
+++ b/extra/mdadm/Pkgfile
@@ -0,0 +1,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
+}