wok-6.x annotate mdadm/receipt @ rev 24824
updated libsdl2-image and libsdl2-image-dev (2.0.4 -> 2.0.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 23 16:49:16 2022 +0100 (2022-03-23) |
parents | 3e9a9990c985 |
children | a1ea9b7ae222 |
rev | line source |
---|---|
Bill@1024 | 1 # SliTaz package receipt. |
Bill@1024 | 2 |
Bill@1024 | 3 PACKAGE="mdadm" |
Hans-G?nter@21425 | 4 VERSION="4.1" |
Bill@1024 | 5 CATEGORY="system-tools" |
Bill@1024 | 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@21425 | 14 BUILD_DEPENDS="" |
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 { |
Bill@1024 | 25 make mdadm |
Bill@1024 | 26 } |
Bill@1024 | 27 |
Bill@1024 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
Bill@1024 | 29 genpkg_rules() |
Bill@1024 | 30 { |
Bill@1024 | 31 mkdir -p $fs/usr/bin |
Bill@1024 | 32 cp -a $src/mdadm $fs/usr/bin |
Bill@1024 | 33 } |