smlinux/base/hdparm/hdparm.SMBuild

30 lines
707 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=hdparm
version=9.58
build=1sml
homepage="https://sourceforge.net/projects/hdparm"
download="https://sourceforge.net/projects/hdparm/files/hdparm/hdparm-$version.tar.gz"
desc="Hard disk information utility"
requires="musl"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
make
make install DESTDIR=$pkg mandir="/share/man" sbindir="/bin"
cp LICENSE.TXT $pkgdocs/
mkfinalpkg
}
sha512sums="
2c87e03c7ccb85b57851ea2f9d69688a62c264ae76bf10e08b6bb13813cdd33b76226ad21961e44e21fedd7aff9900ecfe4992426589ff4ce8bd67a7cd141f25 hdparm-9.58.tar.lz
"