From c73a3851a08ff3ca2d213069b09811cc10566e51 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Wed, 15 Sep 2010 07:41:30 +0000 Subject: [PATCH 1/1] sdl_sound: initial import (verified compilation). --- sdl_sound/.footprint | 13 +++++++++++++ sdl_sound/.md5sum | 1 + sdl_sound/Pkgfile | 28 ++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 sdl_sound/.footprint create mode 100644 sdl_sound/.md5sum create mode 100644 sdl_sound/Pkgfile diff --git a/sdl_sound/.footprint b/sdl_sound/.footprint new file mode 100644 index 0000000..0c3c67e --- /dev/null +++ b/sdl_sound/.footprint @@ -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 index 0000000..cb98929 --- /dev/null +++ b/sdl_sound/.md5sum @@ -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 index 0000000..1485649 --- /dev/null +++ b/sdl_sound/Pkgfile @@ -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 +} -- 2.26.2