wok-current view hdparm/receipt @ rev 12587
gnet: update bdeps + LDFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 28 21:50:30 2012 +0200 (2012-04-28) |
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 }