wok annotate mdadm/receipt @ 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 | bf28cc07ebf1 |
children |
rev | line source |
---|---|
Bill@1024 | 1 # SliTaz package receipt. |
Bill@1024 | 2 |
Bill@1024 | 3 PACKAGE="mdadm" |
Hans-G?nter@24898 | 4 VERSION="4.2" |
Bill@1024 | 5 CATEGORY="system-tools" |
Hans-G?nter@24898 | 6 SHORT_DESC="Software RAID tools." |
b1+slitaz@1802 | 7 MAINTAINER="b1+slitaz@nagel.org" |
pascal@15584 | 8 LICENSE="GPL2" |
Hans-G?nter@21425 | 9 WEB_SITE="https://www.kernel.org/pub/linux/utils/raid/mdadm/ANNOUNCE" |
Hans-G?nter@21425 | 10 |
pascal@17554 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@17554 | 12 WGET_URL="https://www.kernel.org/pub/linux/utils/raid/mdadm/$TARBALL" |
Bill@1024 | 13 |
Hans-G?nter@24898 | 14 BUILD_DEPENDS="udev-dev" |
pascal@15112 | 15 |
pascal@24076 | 16 current_version() |
pascal@24076 | 17 { |
pascal@24076 | 18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24079 | 19 sed "/$PACKAGE-[0-9]/!d;/tar/!d;/-rc/d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24076 | 20 } |
pascal@24076 | 21 |
Bill@1024 | 22 # Rules to configure and make the package. |
Bill@1024 | 23 compile_rules() |
Bill@1024 | 24 { |
Hans-G?nter@24898 | 25 export CXFLAGS="-Wno-error=missing-field-initializers" |
Hans-G?nter@24898 | 26 |
Hans-G?nter@24898 | 27 make && |
Hans-G?nter@24898 | 28 make install DESTDIR=$DESTDIR |
Bill@1024 | 29 } |
Bill@1024 | 30 |
Bill@1024 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
Bill@1024 | 32 genpkg_rules() |
Bill@1024 | 33 { |
Hans-G?nter@24898 | 34 cook_copy_folders sbin |
Bill@1024 | 35 } |