# Maintainer: PktSurf <smlinux@pktsurf.in>
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-$version.tar.gz"
desc="icecast server library"
requires="libtheora"

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

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

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

  make
  make install DESTDIR=$pkg 

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
ee7f67f35df7cf4fe778d6e175c5fb59134814a822a68e9ef88a36193a98856d8d8da5bf7a8ee0b174c87630f5dbfe4a63719de7047e3e63bb79e8a14575937a  libshout-2.3.1.tar.lz
"
