wok-next diff hdparm/receipt @ rev 21057
Deal with HOST_ARCH="any"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 03 14:47:30 2018 +0200 (2018-12-03) |
parents | a3c581bf52b8 |
children |
line diff
1.1 --- a/hdparm/receipt Fri Aug 10 12:53:17 2018 +0300 1.2 +++ b/hdparm/receipt Mon Dec 03 14:47:30 2018 +0200 1.3 @@ -1,28 +1,22 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="hdparm" 1.8 VERSION="9.37" 1.9 CATEGORY="system-tools" 1.10 -SHORT_DESC="hdparm - get/set ATA/SATA drive parameters under Linux" 1.11 +SHORT_DESC="Get and set (S)ATA drive parameters under Linux" 1.12 MAINTAINER="lufeng369@slitaz.org" 1.13 LICENSE="BSD" 1.14 +WEB_SITE="https://sourceforge.net/projects/hdparm/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="https://sourceforge.net/projects/hdparm/" 1.18 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.19 1.20 -DEPENDS="glibc" 1.21 - 1.22 -# Rules to configure and make the package. 1.23 -compile_rules() 1.24 -{ 1.25 - cd $src 1.26 - make && make DESTDIR=$DESTDIR install 1.27 +compile_rules() { 1.28 + make && 1.29 + make DESTDIR=$install install 1.30 } 1.31 1.32 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 -genpkg_rules() 1.34 -{ 1.35 - mkdir -p $fs/sbin 1.36 - cp -a $install/sbin/hdparm $fs/sbin/ 1.37 +genpkg_rules() { 1.38 + copy @std 1.39 + DEPENDS="glibc" 1.40 } 1.41 -