summaryrefslogtreecommitdiffstats
path: root/sdl_sound/Pkgfile
blob: 9711b864fc23297215b11df010f1757f55178f2a (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
# Run 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 
        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

}