From: Victor Martinez Date: Wed, 15 Sep 2010 07:41:30 +0000 (+0000) Subject: sdl_sound: initial import (verified compilation). X-Git-Url: http://gitweb/?a=commitdiff_plain;h=c73a3851a08ff3ca2d213069b09811cc10566e51;p=attic%2Fports%2Fopt-cross.git sdl_sound: initial import (verified compilation). --- 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 +}