summaryrefslogtreecommitdiffstats
path: root/sdl_sound/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'sdl_sound/Pkgfile')
-rw-r--r--sdl_sound/Pkgfile25
1 files changed, 25 insertions, 0 deletions
diff --git a/sdl_sound/Pkgfile b/sdl_sound/Pkgfile
new file mode 100644
index 000000000..9711b864f
--- /dev/null
+++ b/sdl_sound/Pkgfile
@@ -0,0 +1,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
+
+}
+