34 lines
796 B
Bash
34 lines
796 B
Bash
# Template file for 'mitlm'
|
|
pkgname=mitlm
|
|
version=0.4.2
|
|
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.xz"
|
|
checksum=4a9886b68157a9b9280dc53e94af165c3e1ae62c13d0fa810c2ff17a9923db25
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="gcc-fortran"
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|