From: Victor Martinez Date: Wed, 15 Sep 2010 07:42:11 +0000 (+0000) Subject: sdl_mixer: initial import (verified compilation). X-Git-Url: http://gitweb/?a=commitdiff_plain;h=ece01cffd302fd2489a7ea8350233573648d363b;p=attic%2Fports%2Fopt-cross.git sdl_mixer: initial import (verified compilation). --- diff --git a/sdl_mixer/.footprint b/sdl_mixer/.footprint new file mode 100644 index 0000000..362a2e6 --- /dev/null +++ b/sdl_mixer/.footprint @@ -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 index 0000000..d5129bc --- /dev/null +++ b/sdl_mixer/.md5sum @@ -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 index 0000000..4397f73 --- /dev/null +++ b/sdl_mixer/Pkgfile @@ -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 +}