APP=wavpack
VERSION=5.3.0
BUILD=1sml
HOMEPAGE="https://www.wavpack.com"
DOWNLOAD="https://www.wavpack.com/wavpack-5.3.0.tar.xz"
DESC="hybrid lossless wavefile compressor"
REQUIRES="musl"

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z*
  cd $APP-$VERSION
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --disable-static

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
e4c831371984a32f79d522e067210295aed6ff94ebef89f2ec0fab32e225cb807bd11c980ae9177717d6a446c4795aaac8a7f69e1af14e317222d5601c13c0fd  wavpack-5.3.0.tar.lz
"
