# Description: MPEG1/MPEG2 decoder (includes libmpeg2)
# URL: https://libmpeg2.sourceforge.io/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: libsdl

name=libmpeg2
version=0.5.1
release=1
source=(https://libmpeg2.sourceforge.io/files/$name-$version.tar.gz)

build () {
  cd $name-$version
  ./configure --prefix=/usr \
  --with-gnu-ld \
  --enable-shared \
  --disable-nls
  make
  make DESTDIR=$PKG install
}
