# Template build file for 'lcms2'.
pkgname=lcms2
version=2.8
revision=2
build_style=gnu-configure
makedepends="tiff-devel"
short_desc="Small-footprint color management engine, version 2"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.littlecms.com"
license="MIT"
distfiles="${SOURCEFORGE_SITE}/lcms/lcms2-$version.tar.gz"
checksum=66d02b229d2ea9474e62c2b6cd6720fde946155cd1d0d2bffdab829790a0fb22

lcms2-devel_package() {
	depends="${makedepends} ${sourcepkg}-${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
	}
}
lcms2-tools_package() {
	short_desc+=" - bundled tools"
	pkg_install() {
		vmove usr/bin
		vmove usr/share/man
	}
}
