# Depends on:  sdl2 libvorbis libmodplug mpg123 flac

description="A simple multi-channel audio mixer (Version 2)"
url="http://www.libsdl.org/projects/SDL_mixer/"
packager="remy <remy@nutyx.org>"
contributors=""

name=sdl2-mixer
version=2.0.4

source=(https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-$version.tar.gz)

build () {

cd SDL2_mixer-$version

./configure --disable-static --prefix=/usr

make 

}

package() {
cd SDL2_mixer-$version
make DESTDIR=$PKG install
# Obsolet lib
rm $PKG/usr/lib/libSDL2_mixer.la
}
