# Template file for 'exiv2'
pkgname=exiv2
version=0.22
revision=3
build_style=gnu-configure
makedepends="zlib-devel expat-devel"
short_desc="Image metadata manipulation"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://www.exiv2.org"
distfiles="${homepage}/exiv2-$version.tar.gz"
checksum=d338a5079a3d30e81b294b75cc16433794a0c06ccd71b07c524a46ec4826ce7a

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