app=mtdev
version=1.1.5
build=1sml
homepage="https://bitmath.org/code/mtdev/"
download="https://bitmath.org/code/mtdev/mtdev-$version.tar.bz2"
desc="Library which transforms all variants of kernel MT events to the slotted type B protocol"
requires="musl"

build() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions

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

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
727df0f6d722537e378db60a39b2dc56fb492c15d2b7310473975fb501dc9fbdf8f0cf999539551b34394da695d413235bc5f1ab364c671232492e7c3285d03d  mtdev-1.1.5.tar.xz
"
