# Template file for 'libexttextcat'
pkgname=libexttextcat
version=3.4.4
revision=1
build_style=gnu-configure
short_desc="N-Gram-Based Text Categorization library"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="BSD-3"
homepage="http://www.freedesktop.org/wiki/Software/libexttextcat"
distfiles="http://dev-www.libreoffice.org/src/$pkgname/$pkgname-$version.tar.xz"
checksum=f24c086cf3523424228ed58b9f678cc7647688822e5407d5fbc155fbfc846293

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

libexttextcat-tools_package() {
	short_desc+=" - tools"
	pkg_install() {
		vmove usr/bin
	}
}
