# Template file for 'SDL_image'
pkgname=SDL_image
version=1.2.10
revision=3
distfiles="http://www.libsdl.org/projects/$pkgname/release/$pkgname-$version.tar.gz"
build_style=gnu_configure
short_desc="Load images as SDL surfaces"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=75e05d1e95f6277b44797157d9e25a908ba8d08a393216ffb019b0d74de11876
long_desc="
 This is a simple library to load images of various formats as SDL
 surfaces. This library supports BMP, PNM (PPM/PGM/PBM), XPM, LBM,
 PCX, GIF, JPEG, PNG, TGA, and TIFF formats."

subpackages="$pkgname-devel"
Add_dependency run glibc
Add_dependency run libpng
Add_dependency run tiff
Add_dependency run jpeg
Add_dependency run SDL
Add_dependency build libpng-devel
Add_dependency build tiff-devel
Add_dependency build jpeg-devel
Add_dependency build SDL-devel