Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- # Contributor: Tom Adams <tom@holizz.com>
- pkgname=htk
- pkgver=3.4.1
- pkgrel=2
- pkgdesc="A portable toolkit primarily used for speech recognition research"
- arch=('i686' 'x86_64')
- url="http://htk.eng.cam.ac.uk/"
- license=('custom: Proprietary')
- depends=('libx11')
- makedepends=('wget' 'patch')
- options=('!makeflags')
- #source=(http://htk.eng.cam.ac.uk/ftp/software/HTK-$pkgver.tar.gz)
- source=(configure.patch configure.ac.patch)
- md5sums=('a6e6556dbc4bd7a7f9a0f8ec05ede202'
- '2b970d4878c5720ecd8aa65e62196b19')
- build() {
- cd ${srcdir}
- #Note: HTK cannot be downloaded without a username/password. Use name and password from your registration here.
- wget --user=USERNAME --password=PASSWORD http://htk.eng.cam.ac.uk/ftp/software/HTK-$pkgver.tar.gz
- cd ${srcdir}/$pkgname
- # 64bit will compile, but patches to configure and configure.ac are required.
- if [ "${CARCH}" == "x86_64" ]
- then
- # apply patches
- patch ./configure configure.patch
- patch ./configure.ac configure.ac.patch
- fi
- install -d ${pkgdir}/usr
- ./configure --prefix=${pkgdir}/usr
- make
- make all
- }
- package() {
- cd ${srcdir}/$pkgname
- make install
- #License
- install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement