1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 _pkg=CMU-Cam_Toolkit_v2
4 pkgname=cmu-sml-toolkit
7 pkgdesc="The CMU-Cambridge Statistical Language Modeling toolkit is a suite of UNIX software tools to facilitate the construction and testing of statistical language models."
9 url="http://www.speech.cs.cmu.edu/SLM/toolkit.html"
11 source=("http://www.speech.cs.cmu.edu/SLM/$_pkg.tar.gz")
12 md5sums=('ef64b894c252774fdd2e86261008198f')
15 cd "$srcdir/$_pkg/src"
17 # enable little endian build
18 sed -i "/^#BYTESWAP_FLAG/s/#//" Makefile
27 install -d "$pkgdir"/usr/{lib,share/doc/$pkgname}
28 cp -a bin "$pkgdir/usr"
31 cp -a include "$pkgdir/usr"
34 install -Dm644 lib/SLM2.a "$pkgdir/usr/lib"
37 install -Dm644 doc/* "$pkgdir/usr/share/doc/$pkgname"
40 # vim:set ts=2 sw=2 et: