wok-stable annotate hdparm/receipt @ rev 11623
amule, emelfm2, fpm2, gcolor2, gftp, grisbi; grsync, htop, hydrogen, kino, lingot, listpatron, lostirc, mitter, mplayer*, notecase, obconf, osmo, sakura, sylpheed, tilda, transmission, xine-ui, xsane: install .desktop file
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 24 22:51:41 2012 +0100 (2012-01-24) |
parents | afdc481c3d97 |
children |
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" |
hipeng@11313 | 7 MAINTAINER="liupeng <hipeng@yahoo.com>" |
hipeng@10955 | 8 DEPENDS="glibc" |
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 |
hipeng@10955 | 13 # Rules to configure and make the package. |
hipeng@10955 | 14 compile_rules() |
hipeng@10955 | 15 { |
hipeng@10955 | 16 cd $src |
hipeng@10955 | 17 make && make DESTDIR=$PWD/_pkg install |
hipeng@10955 | 18 } |
hipeng@10955 | 19 |
hipeng@10955 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
hipeng@10955 | 21 genpkg_rules() |
hipeng@10955 | 22 { |
hipeng@10955 | 23 mkdir -p $fs/sbin |
hipeng@10955 | 24 cp -a $_pkg/sbin/hdparm $fs/sbin/ |
hipeng@10955 | 25 } |
hipeng@10955 | 26 |