void-packages/srcpkgs/SDL_image/template

35 lines
925 B
Text
Raw Normal View History

# Template file for 'SDL_image'
pkgname=SDL_image
2012-01-21 20:11:44 +00:00
version=1.2.12
revision=8
build_style=gnu-configure
configure_args="--disable-static"
2013-03-30 09:37:36 +00:00
makedepends="tiff-devel SDL-devel libwebp-devel>=0.2.0"
short_desc="Load images as SDL surfaces"
maintainer="Juan RP <xtraeme@gmail.com>"
2012-01-16 14:19:45 +00:00
license="BSD"
2012-06-06 08:34:27 +00:00
homepage="http://www.libsdl.org/projects/SDL_image/"
distfiles="http://www.libsdl.org/projects/$pkgname/release/$pkgname-$version.tar.gz"
2012-01-21 20:11:44 +00:00
checksum=0b90722984561004de84847744d566809dbb9daf732a9e503b91a1b5a84e5699
2012-01-16 14:19:45 +00:00
post_install() {
vinstall COPYING 644 usr/share/licenses/${pkgname}
}
SDL_image-devel_package() {
depends="SDL-devel ${sourcepkg}>=${version}"
short_desc="${short_desc} - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}
SDL_image_package() {
# The following are dlopen(3)ed at runtime.
depends="libpng>=1.5.10 tiff libjpeg-turbo libwebp>=0.2.0"
pkg_install() {
vmove usr
}
}