# Template file for 'exiv2'
pkgname=exiv2
version=0.26
revision=2
build_style=gnu-configure
wrksrc=exiv2-trunk
makedepends="zlib-devel expat-devel"
short_desc="Image metadata manipulation"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://www.exiv2.org"
distfiles="http://www.exiv2.org/builds/exiv2-${version}-trunk.tar.gz"
checksum=c75e3c4a0811bf700d92c82319373b7a825a2331c12b8b37d41eb58e4f18eafb
disable_parallel_build=yes

exiv2-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
	}
}
