wok-6.x rev 10955
Add: hdparm
author | Liu Peng <hipeng@yahoo.com> |
---|---|
date | Sun Sep 18 14:55:59 2011 +0000 (2011-09-18) |
parents | 42297ca48dcb |
children | f87df180520c |
files | hdparm/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/hdparm/receipt Sun Sep 18 14:55:59 2011 +0000 1.3 @@ -0,0 +1,26 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="hdparm" 1.7 +VERSION="9.37" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="hdparm - get/set ATA/SATA drive parameters under Linux" 1.10 +MAINTAINER="liupeng <hipeng@about.me>" 1.11 +DEPENDS="glibc" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://sourceforge.net/projects/hdparm/" 1.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + make && make DESTDIR=$PWD/_pkg install 1.21 +} 1.22 + 1.23 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.24 +genpkg_rules() 1.25 +{ 1.26 + mkdir -p $fs/sbin 1.27 + cp -a $_pkg/sbin/hdparm $fs/sbin/ 1.28 +} 1.29 +