void-packages/srcpkgs/mitlm/template
2017-03-10 14:07:22 +01:00

29 lines
760 B
Bash

# Template file for 'mitlm'
pkgname=mitlm
version=0.4.1
revision=2
short_desc="MIT Language Modeling toolkit"
maintainer="Martin Riese <grauehaare@gmx.de>"
license="MIT"
homepage="https://github.com/mitlm/mitlm"
distfiles="https://github.com/$pkgname/$pkgname/releases/download/v${version}/${pkgname}_${version}.tar.gz"
checksum="c7568ad8ad1b63204ae8e19b24dd95d1e912edd65efd6f59ca7149d47b4fa08a"
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="gcc-fortran"
libmitlm_package() {
short_desc+=" - runtime libraries"
pkg_install() {
vmove usr/lib/*.so.*
}
}
libmitlm-devel_package() {
short_desc+=" - development files"
depends="libmitlm>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
}
}