wok diff mdadm/receipt @ rev 25770

dool,fake-hwclock,gtkam,xfce4-*-plugin,xlogo: add current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 06 11:29:23 2024 +0000 (2 months ago)
parents bf28cc07ebf1
children
line diff
     1.1 --- a/mdadm/receipt	Fri Jul 09 10:46:05 2021 +0000
     1.2 +++ b/mdadm/receipt	Fri Sep 06 11:29:23 2024 +0000
     1.3 @@ -1,9 +1,9 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="mdadm"
     1.7 -VERSION="4.1"
     1.8 +VERSION="4.2"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="Software RAID tools"
    1.11 +SHORT_DESC="Software RAID tools."
    1.12  MAINTAINER="b1+slitaz@nagel.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="https://www.kernel.org/pub/linux/utils/raid/mdadm/ANNOUNCE"
    1.15 @@ -11,7 +11,7 @@
    1.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.17  WGET_URL="https://www.kernel.org/pub/linux/utils/raid/mdadm/$TARBALL"
    1.18  
    1.19 -BUILD_DEPENDS=""
    1.20 +BUILD_DEPENDS="udev-dev"
    1.21  
    1.22  current_version()
    1.23  {
    1.24 @@ -22,12 +22,14 @@
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	make mdadm
    1.29 +	export	CXFLAGS="-Wno-error=missing-field-initializers"
    1.30 +
    1.31 +	make &&
    1.32 +	make install DESTDIR=$DESTDIR
    1.33  }
    1.34  
    1.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.36  genpkg_rules()
    1.37  {
    1.38 -	mkdir -p $fs/usr/bin
    1.39 -	cp -a $src/mdadm $fs/usr/bin
    1.40 +	cook_copy_folders	sbin
    1.41  }