wok annotate hdparm/receipt @ rev 25164

updated python-antlr (3.5.2 -> 3.5.3)
author Hans-G?nter Theisgen
date Fri Jul 01 10:50:21 2022 +0100 (23 months ago)
parents ba7cbdb5749c
children ad0bc3efbf37
rev   line source
hipeng@10955 1 # SliTaz package receipt.
hipeng@10955 2
hipeng@10955 3 PACKAGE="hdparm"
Hans-G?nter@24639 4 VERSION="9.63"
hipeng@10955 5 CATEGORY="system-tools"
Hans-G?nter@24639 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@24639 26 make &&
Hans-G?nter@24639 27 make install DESTDIR=$DESTDIR
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 {
Hans-G?nter@24639 33 cook_copy_folders sbin
hipeng@10955 34 }