# Template file for 'libgexiv2'
pkgname=libgexiv2
version=0.6.1
revision=2
build_style=gnu-configure
hostmakedepends="libtool>=2.4.2_7 pkg-config"
makedepends="libglib-devel exiv2-devel"
short_desc="GObject-based wrapper around the Exiv2 library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://www.exiv2.org"
distfiles="http://yorba.org/download/gexiv2/0.6/${pkgname}_${version}.tar.xz"
checksum=72ee2fcc6a98c9e83467adea45b10d1b61c55654c204dcce9c2463615389a9e3

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