void-packages/srcpkgs/mitlm/template

30 lines
721 B
Bash
Raw Normal View History

# Template file for 'mitlm'
pkgname=mitlm
version=0.4.1
2014-05-08 14:18:24 +02:00
revision=2
short_desc="MIT Language Modeling toolkit"
maintainer="Martin Riese <grauehaare@gmx.de>"
license="MIT"
homepage="https://mitlm.googlecode.com"
distfiles="https://mitlm.googlecode.com/files/mitlm-${version}.tar.gz"
checksum="c7568ad8ad1b63204ae8e19b24dd95d1e912edd65efd6f59ca7149d47b4fa08a"
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="gcc-fortran"
2014-05-08 14:18:24 +02:00
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
}
}