smlinux/base/hdparm/hdparm.SMBuild
PktSurf a6bc50adc7 Added elfutils and fuse to base
Removed build options that placed elf binaries in /bin
Removed executable bit from some build files
2024-10-29 15:25:51 +05:30

30 lines
731 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 prefix="/usr" mandir="/usr/share/man" sbindir="/usr/bin" DESTDIR="$pkg"
cp LICENSE.TXT $pkgdocs/
mkfinalpkg
}
sha512sums="
2c87e03c7ccb85b57851ea2f9d69688a62c264ae76bf10e08b6bb13813cdd33b76226ad21961e44e21fedd7aff9900ecfe4992426589ff4ce8bd67a7cd141f25 hdparm-9.58.tar.lz
"