# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libmms
version=0.6.4
build=1sml
homepage="https://sourceforge.net/projects/libmms/"
desc="Video library for parsing mms and mmsh video streams"
requires="musl"

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

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

build() {
  ./configure \
    --prefix= \
    --disable-static

  make
  make install DESTDIR=$pkg

  cp COPYING* $pkgdocs/

  mkfinalpkg
}

sha512sums="
1734761d3e7091856dc0b3ca140279b2090791732a7894f46bf6cb0d4c9c13ad8779285119136fbd9253ccfd980d65dd2969fabba377c3a5d03d28be3b158d74  libmms-0.6.4.tar.lz
"
