void-packages/srcpkgs/libexttextcat/template

32 lines
841 B
Bash

# Template file for 'libexttextcat'
pkgname=libexttextcat
version=3.4.6
revision=1
build_style=gnu-configure
configure_args="--disable-werror"
make_build_args=V=1
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=6d77eace20e9ea106c1330e268ede70c9a4a89744ddc25715682754eca3368df
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
}
}