1 # Maintainer: TryA <tryagainprod {at} gmail.com>
2 # Contributor: Allan McRae <allan@archlinux.org>
3 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
6 pkgname=lib32-sdl_sound
9 pkgdesc="A library to decode several popular sound file formats, such as .WAV and .MP3 (32-bit)"
11 url="http://icculus.org/SDL_sound/"
13 depends=('lib32-sdl' 'lib32-libmikmod' 'libvorbis' 'lib32-flac'
14 'lib32-speex' 'lib32-smpeg' 'sdl_sound')
16 source=(http://icculus.org/SDL_sound/downloads/SDL_sound-${pkgver}.tar.gz
18 md5sums=('aa09cd52df85d29bee87a664424c94b5'
19 '302aa9dc94cc71dd3339ca3177d36e1c')
24 export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
26 cd ${srcdir}/SDL_sound-${pkgver}
27 CFLAGS="$CFLAGS -I/usr/include/smpeg" \
28 CXXFLAGS="$CXXFLAGS -I/usr/include/smpeg" \
29 ./configure --prefix=/usr --libdir=/usr/lib32
34 cd ${srcdir}/SDL_sound-${pkgver}
35 make DESTDIR=${pkgdir} install
36 rm -rf ${pkgdir}/usr/{bin,include}