void-packages/srcpkgs/SDL_image/template

24 lines
921 B
Text

# Template file for 'SDL_image'
pkgname=SDL_image
version=1.2.12
revision=4
build_style=gnu-configure
configure_args="--disable-static"
# The following are dlopen(3)ed at runtime.
depends="libpng>=1.5.10 tiff jpeg libwebp>=0.2.0"
makedepends="libpng-devel>=1.5.10 tiff-devel jpeg-devel SDL-devel libwebp-devel>=0.2.0"
subpackages="${pkgname}-devel"
short_desc="Load images as SDL surfaces"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="http://www.libsdl.org/projects/SDL_image/"
distfiles="http://www.libsdl.org/projects/$pkgname/release/$pkgname-$version.tar.gz"
checksum=0b90722984561004de84847744d566809dbb9daf732a9e503b91a1b5a84e5699
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."
post_install() {
vinstall COPYING 644 usr/share/licenses/${pkgname}
}