summaryrefslogtreecommitdiffstats
path: root/extra/sdl_sound/Pkgfile
blob: 220ad28af838da5fc59b0395665fd47eb2ef5f6f (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
26
 
# 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
# Run on:

name=sdl_sound
version=1.0.3
release=1
source=(http://icculus.org/SDL_sound/downloads/SDL_sound-$version.tar.gz 
        http://nutyx.meticul.eu/files/patchs/$name/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

}