# Template build file for 'lcms'.
pkgname=lcms
version=1.19
revision=9
wrksrc=${pkgname}-${version%[a-z]*}
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="libjpeg-turbo-devel tiff-devel"
short_desc="Light Color Management System -- a color management library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.littlecms.com"
license="BSD"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=80ae32cb9f568af4dc7ee4d3c05a4c31fc513fc3e31730fed0ce7378237273a9

lcms-devel_package() {
	depends="libjpeg-turbo-devel tiff-devel lcms>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/lib/*.so
	}
}