smlinux/base/libatasmart/libatasmart.SMBuild

31 lines
No EOL
688 B
Text
Executable file

app=libatasmart
version=0.19
build=1sml
homepage="http://0pointer.de/blog/projects/being-smart.html"
download="https://0pointer.de/public/libatasmart-$version.tar.xz"
desc="ATA S.M.A.R.T reading and parsing library"
requires="musl"
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z**
cd $app-$version
fixbuilddirpermissions
./configure \
--prefix="" \
--sbindir=/bin \
--disable-static \
$builddist
make
make install DESTDIR=$pkg
mkfinalpkg
}
sha512sums="
82244f9915ef15f9332a71ad945bcf6ce1c75a07f068d6ad925f6dcffbf7dc375e44a48f9705fbfa6ce6c8c3e10bfdc56f41a0d91670253f623421a916dfa343 libatasmart-0.19.tar.lz
"