+# Description: A library for decoding various sound formats.
+# URL: http://www.icculus.org/SDL_sound/
+# Packager: Aaron Marks, nymacro at gmail dot com
+# Maintainer: Victor Martinez, pitillo at ono dot com
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on: libsdl
+
+name=sdl_sound
+version=1.0.3
+release=1
+
+source=(http://www.icculus.org/SDL_sound/downloads/SDL_sound-$version.tar.gz)
+
+build() {
+ cd SDL_sound-$version
+ ./configure --build=$CHOST \
+ --host=$CTARGET \
+ --prefix=/usr \
+ --with-sdl-prefix=$CLFS/usr \
+ --disable-sdltest
+
+ find -type f -name 'Makefile' \
+ -exec sed -i -e "s|/usr/include/SDL|$CLFS/usr/include/SDL|g" \
+ -e "s|/usr/lib|$CLFS/usr/lib|g" {} \;
+
+ make
+ make DESTDIR=$PKG install
+}