1 # Description: A sample multi-channel audio mixer library.
2 # URL: http://www.libsdl.org/projects/SDL_mixer/
3 # Packager: Simone Rota, sip at crux dot nu
4 # Maintainer: Victor Martinez, pitillo at ono dot com
5 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
6 # Depends on: libvorbis smpeg
11 source=(http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-$version.tar.gz)
15 sed -i -e 's|/usr/local/lib/timidity|/usr/share/timidity|g' timidity/config.h
16 ./configure --build=$CHOST \
19 --with-sdl-prefix=$CLFS/usr \
22 find -type f -name 'Makefile' \
23 -exec sed -i -e "s|/usr/include/SDL|$CLFS/usr/include/SDL|g" \
24 -e "s|/usr/lib|$CLFS/usr/lib|g" {} \;
27 make DESTDIR=$PKG install