void-packages/srcpkgs/libexttextcat/template

30 lines
787 B
Bash

# Template file for 'libexttextcat'
pkgname=libexttextcat
version=3.4.5
revision=2
build_style=gnu-configure
short_desc="N-Gram-Based Text Categorization library"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="BSD-3"
homepage="http://www.freedesktop.org/wiki/Software/libexttextcat"
distfiles="http://dev-www.libreoffice.org/src/$pkgname/$pkgname-$version.tar.xz"
checksum=13fdbc9d4c489a4d0519e51933a1aa21fe3fb9eb7da191b87f7a63e82797dac8
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
}
}