void-packages/srcpkgs/SDL_image/template

32 lines
1003 B
Plaintext
Raw Normal View History

# Template file for 'SDL_image'
pkgname=SDL_image
2012-01-16 15:19:45 +01:00
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 <xtraeme@gmail.com>"
2012-01-16 15:19:45 +01:00
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"
2012-01-16 15:19:45 +01:00
# The following are dlopen(3)ed at runtime.
Add_dependency run libpng
Add_dependency run tiff
Add_dependency run jpeg
2012-01-16 15:19:45 +01:00
Add_dependency run libwebp
Add_dependency build libpng-devel
Add_dependency build tiff-devel
Add_dependency build jpeg-devel
Add_dependency build SDL-devel
2012-01-16 15:19:45 +01:00
Add_dependency build libwebp-devel
post_install() {
vinstall COPYING 644 usr/share/licenses/${pkgname}
}