void-packages/srcpkgs/libexttextcat/template

30 lines
776 B
Bash

# 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 <eb@s01.de>"
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
}
}