wok-6.x view mdadm/receipt @ rev 25015
Add bzip3
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 17 11:06:25 2022 +0000 (2022-05-17) |
parents | bf28cc07ebf1 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="mdadm"
4 VERSION="4.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Software RAID tools."
7 MAINTAINER="b1+slitaz@nagel.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.kernel.org/pub/linux/utils/raid/mdadm/ANNOUNCE"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://www.kernel.org/pub/linux/utils/raid/mdadm/$TARBALL"
14 BUILD_DEPENDS="udev-dev"
16 current_version()
17 {
18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
19 sed "/$PACKAGE-[0-9]/!d;/tar/!d;/-rc/d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 export CXFLAGS="-Wno-error=missing-field-initializers"
27 make &&
28 make install DESTDIR=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cook_copy_folders sbin
35 }