# Template file for 'djvulibre'
pkgname=djvulibre
version=3.5.24
revision=5
build_style=gnu-configure
configure_args="--disable-desktopfiles"
makedepends="pkg-config tiff-devel"
short_desc="Utilities for the DjVu image format"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://djvu.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/djvu/$pkgname-$version.tar.gz"
checksum=c0734c81d22a0e458c3fb5efd4c3eab051bcb6ad8740f5a5784c1f5699482534

libdjvulibre_package() {
	short_desc="Runtime support for the DjVu image format"
	pkg_install() {
		vmove "usr/lib/*.so*"
	}
}

djvulibre-devel_package() {
	depends="libjpeg-turbo-devel libdjvulibre>=${version}"
	short_desc="Development files for the DjVu image format"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
	}
}
