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