# Description: SDL yüzeyleri (Version 2) olarak çeşitli biçimlerin görüntülerini yüklemek için basit bir kütüphane
# URL: http://www.libsdl.org/projects/SDL_image
# Packager: yasarciv67@gmail.com
# Depends on: sdl2 libpng libtiff libjpeg-turbo libwebp cmake

name=sdl2-image
version=2.0.1
release=1
source=(https://www.libsdl.org/projects/SDL_image/release/SDL2_image-$version.tar.gz)
    
build() {
	cd SDL2_image-$version
  ./configure --disable-static --prefix=/usr
  		
	make
	make DESTDIR=$PKG install
install -Dm644 COPYING.txt "$PKG/usr/share/licenses/$name/LICENSE"
}

