summaryrefslogtreecommitdiffstats
path: root/extra/sdl_sound/Pkgfile
blob: 62ef4d849b64fd67e6fdc2bfeb60af8ec1312bd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 
# Description: librairie pour décoder les plus populaires fichiers au format .WAV et .MP3
# URL:http://icculus.org/SDL_sound/
# Maintainer: NuTyX core team
# Packager: fanch
# Depends on: sdl, libmikmod, libvorbis, flac, speex, smpeg

name=sdl_sound
version=1.0.3
release=1
source=(http://icculus.org/SDL_sound/downloads/SDL_sound-$version.tar.gz 
        flac.patch)

build() {
  cd $SRC/SDL_sound-$version

  CFLAGS="$CFLAGS -I/usr/include/smpeg" \
  CXXFLAGS="$CXXFLAGS -I/usr/include/smpeg" \
  ./configure --prefix=/usr

  make 
  make DESTDIR=$PKG install

}