CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
sdl_sound: initial import (verified compilation).
authorVictor Martinez <pitillo@ono.com>
Wed, 15 Sep 2010 07:41:30 +0000 (07:41 +0000)
committerVictor Martinez <pitillo@ono.com>
Wed, 15 Sep 2010 07:41:30 +0000 (07:41 +0000)
sdl_sound/.footprint [new file with mode: 0644]
sdl_sound/.md5sum [new file with mode: 0644]
sdl_sound/Pkgfile [new file with mode: 0644]

diff --git a/sdl_sound/.footprint b/sdl_sound/.footprint
new file mode 100644 (file)
index 0000000..0c3c67e
--- /dev/null
@@ -0,0 +1,13 @@
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/bin/
+-rwxr-xr-x     root/root       usr/bin/playsound
+-rwxr-xr-x     root/root       usr/bin/playsound_simple
+drwxr-xr-x     root/root       usr/include/
+drwxr-xr-x     root/root       usr/include/SDL/
+-rw-r--r--     root/root       usr/include/SDL/SDL_sound.h
+drwxr-xr-x     root/root       usr/lib/
+lrwxrwxrwx     root/root       usr/lib/libSDL_sound-1.0.so.1 -> libSDL_sound-1.0.so.1.0.2
+-rwxr-xr-x     root/root       usr/lib/libSDL_sound-1.0.so.1.0.2
+-rw-r--r--     root/root       usr/lib/libSDL_sound.a
+-rwxr-xr-x     root/root       usr/lib/libSDL_sound.la
+lrwxrwxrwx     root/root       usr/lib/libSDL_sound.so -> libSDL_sound-1.0.so.1.0.2
diff --git a/sdl_sound/.md5sum b/sdl_sound/.md5sum
new file mode 100644 (file)
index 0000000..cb98929
--- /dev/null
@@ -0,0 +1 @@
+aa09cd52df85d29bee87a664424c94b5  SDL_sound-1.0.3.tar.gz
diff --git a/sdl_sound/Pkgfile b/sdl_sound/Pkgfile
new file mode 100644 (file)
index 0000000..1485649
--- /dev/null
@@ -0,0 +1,28 @@
+# Description: A library for decoding various sound formats.
+# URL: http://www.icculus.org/SDL_sound/
+# Packager: Aaron Marks, nymacro at gmail dot com
+# Maintainer: Victor Martinez, pitillo at ono dot com
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on: libsdl
+
+name=sdl_sound
+version=1.0.3
+release=1
+
+source=(http://www.icculus.org/SDL_sound/downloads/SDL_sound-$version.tar.gz)
+
+build() {
+  cd SDL_sound-$version
+  ./configure --build=$CHOST \
+              --host=$CTARGET \
+              --prefix=/usr \
+              --with-sdl-prefix=$CLFS/usr \
+              --disable-sdltest
+
+  find -type f -name 'Makefile' \
+    -exec sed -i -e "s|/usr/include/SDL|$CLFS/usr/include/SDL|g" \
+    -e "s|/usr/lib|$CLFS/usr/lib|g" {} \;
+
+  make
+  make DESTDIR=$PKG install
+}