vp-build/srcpkgs/SDL_image/template
2012-01-21 21:11:44 +01:00

32 lines
1003 B
Plaintext

# Template file for 'SDL_image'
pkgname=SDL_image
version=1.2.12
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 <xtraeme@gmail.com>"
license="BSD"
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."
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}
}