wok-stable view hdparm/receipt @ rev 12459

lives: fix symlink (thanks I-Jurij)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 28 08:19:20 2017 +0200 (2017-04-28)
parents afdc481c3d97
children
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="liupeng <hipeng@yahoo.com>"
8 DEPENDS="glibc"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://sourceforge.net/projects/hdparm/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 make && make DESTDIR=$PWD/_pkg install
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/sbin
24 cp -a $_pkg/sbin/hdparm $fs/sbin/
25 }