wok annotate hdparm/receipt @ rev 17338
Up slitaz-tools-boxes (5.8.12) slitaz-configs-base (5.5.6)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Nov 05 19:46:39 2014 +0100 (2014-11-05) |
parents | 7bb096863642 |
children | 86790a278e70 |
rev | line source |
---|---|
hipeng@10955 | 1 # SliTaz package receipt. |
hipeng@10955 | 2 |
hipeng@10955 | 3 PACKAGE="hdparm" |
hipeng@10955 | 4 VERSION="9.37" |
hipeng@10955 | 5 CATEGORY="system-tools" |
hipeng@10955 | 6 SHORT_DESC="hdparm - get/set ATA/SATA drive parameters under Linux" |
pascal@16047 | 7 MAINTAINER="lufeng369@slitaz.org" |
pascal@15215 | 8 LICENSE="BSD" |
hipeng@10955 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
hipeng@10955 | 10 WEB_SITE="http://sourceforge.net/projects/hdparm/" |
hipeng@10955 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
hipeng@10955 | 12 |
pascal@15215 | 13 DEPENDS="glibc" |
pascal@15215 | 14 |
hipeng@10955 | 15 # Rules to configure and make the package. |
hipeng@10955 | 16 compile_rules() |
hipeng@10955 | 17 { |
hipeng@10955 | 18 cd $src |
pascal@15215 | 19 make && make DESTDIR=$DESTDIR install |
hipeng@10955 | 20 } |
hipeng@10955 | 21 |
hipeng@10955 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
hipeng@10955 | 23 genpkg_rules() |
hipeng@10955 | 24 { |
hipeng@10955 | 25 mkdir -p $fs/sbin |
pascal@15215 | 26 cp -a $install/sbin/hdparm $fs/sbin/ |
hipeng@10955 | 27 } |
hipeng@10955 | 28 |