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"

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

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

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

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
4b2eb34aeb7f2ae2f16b5fb6e302580205650d277e930b24ae30c8a5c0ff9def8a1a3c5730a4faa41971010630bd9c1f9425fe139b5afb5a9534c928935e26ab  libmodplug-0.8.9.0.tar.lz
"
