wok-next view hdparm/receipt @ rev 19687
unshield: _BSD_SOURCE is deprecated
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 10 09:48:32 2017 +0200 (2017-04-10) |
parents | 7bb096863642 |
children | a3c581bf52b8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="hdparm"
4 VERSION="9.37"
5 CATEGORY="system-tools"
6 SHORT_DESC="hdparm - get/set ATA/SATA drive parameters under Linux"
7 MAINTAINER="lufeng369@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://sourceforge.net/projects/hdparm/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="glibc"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 make && make DESTDIR=$DESTDIR install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/sbin
26 cp -a $install/sbin/hdparm $fs/sbin/
27 }