core/sdl_sound/PKGBUILD
2013-11-11 17:47:57 +00:00

35 lines
845 B
Bash

#
# Platform Packages for Chakra, part of chakra-project.org
#
# Maintainer: franzmari@chakra-project.it
pkgname=sdl_sound
pkgver=1.0.3
pkgrel=15
pkgdesc="A library to decode several popular sound file formats, such as .WAV and .MP3"
arch=('x86_64')
url="http://icculus.org/SDL_sound/"
license=('LGPL')
depends=('libmodplug' 'sdl' 'libmikmod' 'libvorbis' 'flac' 'speex' 'smpeg')
options=('!libtool')
source=("http://icculus.org/SDL_sound/downloads/SDL_sound-$pkgver.tar.gz"
'flac.patch')
md5sums=('aa09cd52df85d29bee87a664424c94b5'
'302aa9dc94cc71dd3339ca3177d36e1c')
build() {
cd ${srcdir}/SDL_sound-${pkgver}
CFLAGS="$CFLAGS -I/usr/include/smpeg" \
CXXFLAGS="$CXXFLAGS -I/usr/include/smpeg" \
./configure --prefix=/usr
make
}
package() {
cd ${srcdir}/SDL_sound-${pkgver}
make DESTDIR=${pkgdir} install
}