# Template file for 'lensfun'
pkgname=lensfun
version=0.2.8
revision=2
build_style=cmake
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
homepage="http://lensfun.sourceforge.net/"
license="GPL"
short_desc="Library to correct optical lens defects and lens database"
hostmakedepends="cmake pkg-config"
makedepends="glib-devel"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.tar.bz2"
checksum="f88f97fbc78259a2b2edddef295caf50770901107c8469e54bb5e9699faa1a48"

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