wok-6.x view hdparm/receipt @ rev 18663
Up tazpkg(880); change pre- post-functions, etc. in random packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 04 02:45:17 2015 +0200 (2015-12-04) |
parents | 7bb096863642 |
children | 86790a278e70 |
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 }