# Description: Basit Directmedia Layer, bir kitaplık çoklu biçimi
# URL: http://www.libsdl.org
# Packager: milisarge
# Depends on: alsa-lib nasm libusb pulseaudio xorg-libx11 xorg-libxext 

name=sdl
version=1.2.15
release=1

source=(http://www.libsdl.org/release/SDL-$version.tar.gz)
build() {
cd SDL-$version
sed -i '/_XData32/s:register long:register _Xconst long:' src/video/x11/SDL_x11sym.h 
./configure --prefix=/usr --disable-static 
make
make DESTDIR=$PKG install
}