wok rev 24898

updated mdadm (4.1 -> 4.2)
author Hans-G?nter Theisgen
date Sat Apr 09 09:06:09 2022 +0100 (2022-04-09)
parents 84c5b3483e46
children 60dbb8f0d88f
files mdadm/description.txt mdadm/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mdadm/description.txt	Sat Apr 09 09:06:09 2022 +0100
     1.3 @@ -0,0 +1,4 @@
     1.4 +Mdadm has replaced all the previous tools for managing raid arrays.
     1.5 +It manages nearly all the user space side of raid.
     1.6 +There are a few things that need to be done by writing to the /proc
     1.7 +filesystem, but not much.
     2.1 --- a/mdadm/receipt	Fri Apr 08 16:49:55 2022 +0000
     2.2 +++ b/mdadm/receipt	Sat Apr 09 09:06:09 2022 +0100
     2.3 @@ -1,9 +1,9 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="mdadm"
     2.7 -VERSION="4.1"
     2.8 +VERSION="4.2"
     2.9  CATEGORY="system-tools"
    2.10 -SHORT_DESC="Software RAID tools"
    2.11 +SHORT_DESC="Software RAID tools."
    2.12  MAINTAINER="b1+slitaz@nagel.org"
    2.13  LICENSE="GPL2"
    2.14  WEB_SITE="https://www.kernel.org/pub/linux/utils/raid/mdadm/ANNOUNCE"
    2.15 @@ -11,7 +11,7 @@
    2.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.17  WGET_URL="https://www.kernel.org/pub/linux/utils/raid/mdadm/$TARBALL"
    2.18  
    2.19 -BUILD_DEPENDS=""
    2.20 +BUILD_DEPENDS="udev-dev"
    2.21  
    2.22  current_version()
    2.23  {
    2.24 @@ -22,12 +22,14 @@
    2.25  # Rules to configure and make the package.
    2.26  compile_rules()
    2.27  {
    2.28 -	make mdadm
    2.29 +	export	CXFLAGS="-Wno-error=missing-field-initializers"
    2.30 +
    2.31 +	make &&
    2.32 +	make install DESTDIR=$DESTDIR
    2.33  }
    2.34  
    2.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.36  genpkg_rules()
    2.37  {
    2.38 -	mkdir -p $fs/usr/bin
    2.39 -	cp -a $src/mdadm $fs/usr/bin
    2.40 +	cook_copy_folders	sbin
    2.41  }