wok-current view hdparm/receipt @ rev 24411

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 09 17:57:59 2022 +0000 (2022-02-09)
parents 86790a278e70
children ba7cbdb5749c
line source
1 # SliTaz package receipt.
3 PACKAGE="hdparm"
4 VERSION="9.58"
5 CATEGORY="system-tools"
6 SHORT_DESC="Get and set [S]ATA drive parameters under Linux"
7 MAINTAINER="lufeng369@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://sourceforge.net/projects/hdparm/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="glibc"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 make -j 1 &&
20 make DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/sbin
27 cp -a $install/sbin/hdparm $fs/sbin/
28 }