CRUX-ARM : Home

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

diff --git a/sdl_mixer/.footprint b/sdl_mixer/.footprint
new file mode 100644 (file)
index 0000000..362a2e6
--- /dev/null
@@ -0,0 +1,10 @@
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/include/
+drwxr-xr-x     root/root       usr/include/SDL/
+-rw-r--r--     root/root       usr/include/SDL/SDL_mixer.h
+drwxr-xr-x     root/root       usr/lib/
+lrwxrwxrwx     root/root       usr/lib/libSDL_mixer-1.2.so.0 -> libSDL_mixer-1.2.so.0.2.6
+-rwxr-xr-x     root/root       usr/lib/libSDL_mixer-1.2.so.0.2.6
+-rw-r--r--     root/root       usr/lib/libSDL_mixer.a
+-rwxr-xr-x     root/root       usr/lib/libSDL_mixer.la
+lrwxrwxrwx     root/root       usr/lib/libSDL_mixer.so -> libSDL_mixer-1.2.so.0.2.6
diff --git a/sdl_mixer/.md5sum b/sdl_mixer/.md5sum
new file mode 100644 (file)
index 0000000..d5129bc
--- /dev/null
@@ -0,0 +1 @@
+0b5b91015d0f3bd9597e094ba67c4d65  SDL_mixer-1.2.8.tar.gz
diff --git a/sdl_mixer/Pkgfile b/sdl_mixer/Pkgfile
new file mode 100644 (file)
index 0000000..4397f73
--- /dev/null
@@ -0,0 +1,28 @@
+# Description: A sample multi-channel audio mixer library.
+# URL: http://www.libsdl.org/projects/SDL_mixer/
+# Packager: Simone Rota, sip at crux dot nu
+# Maintainer: Victor Martinez, pitillo at ono dot com
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on: libvorbis smpeg
+
+name=sdl_mixer
+version=1.2.8
+release=1
+source=(http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-$version.tar.gz)
+
+build() {
+  cd SDL_mixer-$version
+  sed -i -e 's|/usr/local/lib/timidity|/usr/share/timidity|g' timidity/config.h
+  ./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
+}