NAME="lame"
DESC="MP3 encoder"
VERSION="3.100"
FILES=("https://downloads.sourceforge.net/lame/lame-$VERSION.tar.gz")
HASHES=("83e260acbe4389b54fe08e0bdbf7cddb")
DEPENDS=("libsndfile")

PACKAGE() {
  tar xf $NAME-$VERSION.tar.gz
  cd $NAME-$VERSION

  ./configure --prefix=/usr --enable-mp3rtp --disable-static
  make && make DESTDIR="$ROOTDIR" pkghtmldir=/usr/share/doc/lame-$VERSION install

  cd .. && rm -r $NAME-$VERSION
}
