APP=mtdev
VERSION=1.1.5
BUILD=1sml
HOMEPAGE="https://bitmath.org/code/mtdev/"
DOWNLOAD="https://bitmath.org/code/mtdev/mtdev-1.1.5.tar.bz2"
DESC="A stand-alone 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
"
