APP=libshout
VERSION=2.3.1
BUILD=1sml
HOMEPAGE='https://directory.fsf.org/wiki/Libshout'
DOWNLOAD='https://ftp.osuosl.org/pub/xiph/releases/libshout/libshout-2.3.1.tar.gz'
DESC="icecast server library"
REQUIRES="libtheora"

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="
ee7f67f35df7cf4fe778d6e175c5fb59134814a822a68e9ef88a36193a98856d8d8da5bf7a8ee0b174c87630f5dbfe4a63719de7047e3e63bb79e8a14575937a  libshout-2.3.1.tar.lz
"
