# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libmodplug
version=0.8.9.0
build=1sml
homepage="http://modplug-xmms.sourceforge.net/"
desc="library for the modplug sound engine"
requires="gcc-libs"

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="
4b2eb34aeb7f2ae2f16b5fb6e302580205650d277e930b24ae30c8a5c0ff9def8a1a3c5730a4faa41971010630bd9c1f9425fe139b5afb5a9534c928935e26ab  libmodplug-0.8.9.0.tar.lz
"
