]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - mdadm/mdadm.nm
u-boot: Update to 2013.07rc2.
[people/ms/ipfire-3.x.git] / mdadm / mdadm.nm
index 8e0073e46c5e4876fc50ac10cd0717f2edce93c1..159034c7530ae11413cfc64e1697b37804021e4b 100644 (file)
@@ -4,7 +4,7 @@
 ###############################################################################
 
 name       = mdadm
-version    = 3.2.2
+version    = 3.2.6
 release    = 1
 
 groups     = System/Base
@@ -20,7 +20,8 @@ description
        file can be used to help with some common tasks.
 end
 
-source_dl  =
+source_dl  = https://www.kernel.org/pub/linux/utils/raid/mdadm/
+sources           = %{thisapp}.tar.xz
 
 build
        requires
@@ -35,12 +36,10 @@ build
 
        build
                make %{PARALLELISMFLAGS} CXFLAGS="%{CFLAGS}" \
-                       CWFLAGS= SYSCONFDIR="/etc" MDASSEMBLE_AUTO=1
+                       CWFLAGS= SYSCONFDIR="%{sysconfdir}" MDASSEMBLE_AUTO=1
        end
 
-       install
-               make install BINDIR=/sbin DESTDIR=%{BUILDROOT}
-
+       install_cmds
                mkdir -pv %{BUILDROOT}/var/run/mdadm
                chmod 700 %{BUILDROOT}/var/run/mdadm
        end