# Description: SDL, Simple DirectMedia Layer 
# Description: a multimedia library which provides fast access to both graphics framebuffers and audio devices
# URL: http://www.libsdl.org
# Maintainer: Simone Rota, sip at crux dot nu
# Packager: sten, nick dot steeves at shaw dot ca
# Depends on: alsa-lib

name=libsdl
version=1.2.12
release=1
source=(http://www.libsdl.org/release/SDL-$version.tar.gz) 

build () {
    cd SDL-$version
    #patch -p1 -i $SRC/$name-$version-gcc4.patch
    ./configure	--prefix=/usr \
        --enable-alsa 
    make 
    make DESTDIR=$PKG install
}
