# Template file for 'SDL_image' pkgname=SDL_image version=1.2.11 homepage="http://www.libsdl.org/projects/SDL_image/" 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 " license="BSD" checksum=0b8f51af8c77a6849501fed675d49808ae6fbf1429d32ccbd958b7ba7c04be3b 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" # The following are dlopen(3)ed at runtime. Add_dependency run libpng Add_dependency run tiff Add_dependency run jpeg Add_dependency run libwebp Add_dependency build libpng-devel Add_dependency build tiff-devel Add_dependency build jpeg-devel Add_dependency build SDL-devel Add_dependency build libwebp-devel post_install() { vinstall COPYING 644 usr/share/licenses/${pkgname} }