wok-6.x view hdparm/receipt @ rev 15025
sipsak: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 11 21:34:10 2013 +0000 (2013-08-11) |
parents | afdc481c3d97 |
children | 7bb096863642 |
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 }