wok-6.x annotate hdparm/receipt @ rev 24466

updated darkstat (3.0.719 -> 3.0.721)
author Hans-G?nter Theisgen
date Thu Feb 17 13:39:12 2022 +0100 (2022-02-17)
parents 3d46aeb535ab
children 7f6cddcf47fe
rev   line source
hipeng@10955 1 # SliTaz package receipt.
hipeng@10955 2
hipeng@10955 3 PACKAGE="hdparm"
Hans-G?nter@21033 4 VERSION="9.58"
hipeng@10955 5 CATEGORY="system-tools"
Hans-G?nter@21033 6 SHORT_DESC="Get and set [S]ATA drive parameters under Linux"
pascal@16047 7 MAINTAINER="lufeng369@slitaz.org"
pascal@15215 8 LICENSE="BSD"
Hans-G?nter@21033 9 WEB_SITE="https://sourceforge.net/projects/hdparm/"
Hans-G?nter@21033 10
hipeng@10955 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
hipeng@10955 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
hipeng@10955 13
pascal@15215 14 DEPENDS="glibc"
pascal@15215 15
pascal@24412 16 # What is the latest version available today?
pascal@24412 17 current_version()
pascal@24412 18 {
pascal@24412 19 wget -O - https://sourceforge.net/projects/hdparm/files/hdparm/ 2>/dev/null | \
pascal@24412 20 sed '/scope="row/!d;s|.*/hdparm-||;s|.tar.*||;q'
pascal@24412 21 }
pascal@24412 22
hipeng@10955 23 # Rules to configure and make the package.
hipeng@10955 24 compile_rules()
hipeng@10955 25 {
Hans-G?nter@21033 26 make -j 1 &&
Hans-G?nter@21033 27 make DESTDIR=$DESTDIR install
hipeng@10955 28 }
hipeng@10955 29
hipeng@10955 30 # Rules to gen a SliTaz package suitable for Tazpkg.
hipeng@10955 31 genpkg_rules()
hipeng@10955 32 {
hipeng@10955 33 mkdir -p $fs/sbin
pascal@15215 34 cp -a $install/sbin/hdparm $fs/sbin/
hipeng@10955 35 }