# Template file for 'libextractor'
pkgname=libextractor
version=1.1
revision=3
short_desc="Library used to extract meta data from files"
maintainer="Martin Riese <grauehaare@gmx.de>"
license="MIT"
homepage="http://www.gnu.org/software/libextractor/"
distfiles="http://ftpmirror.gnu.org/libextractor/libextractor-${version}.tar.gz"
checksum="cbb7c2f7f92654dc09b8e5c5e353a49609a22b222ba23c944fcc14f2223172ff"
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="zlib-devel bzip2-devel exiv2-devel tiff-devel libpng-devel libjpeg-turbo-devel libvorbis-devel libflac-devel giflib-devel libmpeg2-devel ffmpeg-devel libgsf-devel gtk+3-devel libltdl-devel"

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