update to 1.7.6 using walwe's PKGBUILD

This commit is contained in:
Cheong Sik Feng 2020-04-26 12:43:43 +08:00
parent fc747ffb4c
commit 49d01c43e1
No known key found for this signature in database
GPG Key ID: C33AC1F166C4A33D
2 changed files with 9 additions and 15 deletions

View File

@ -1,8 +1,6 @@
# Generated by mksrcinfo v8
# Sun Apr 1 08:04:36 UTC 2018
pkgbase = openfst pkgbase = openfst
pkgdesc = Library for constructing, combining, optimizing, and searching weighted finite-state transducers (FSTs) pkgdesc = Library for constructing, combining, optimizing, and searching weighted finite-state transducers (FSTs)
pkgver = 1.6.7 pkgver = 1.7.6
pkgrel = 1 pkgrel = 1
url = http://www.openfst.org url = http://www.openfst.org
arch = i686 arch = i686
@ -10,12 +8,10 @@ pkgbase = openfst
license = Apache license = Apache
depends = gcc-libs depends = gcc-libs
depends = glibc depends = glibc
depends = python2 depends = python
options = !libtool options = !libtool
source = http://www.openfst.org/twiki/pub/FST/FstDownload/openfst-1.6.7.tar.gz source = http://www.openfst.org/twiki/pub/FST/FstDownload/openfst-1.7.6.tar.gz
sha1sums = b6c2771c8deee6879a2c98a0c975b078f59c7dd7 sha1sums = 3fb669b7c064c83f7768d9089b2914a782890474
sha256sums = e21a486d827cde6a592c8e91721e4540ad01a5ae35a60423cf17be4d716017f7
sha512sums = 1963de3c3c08d2d97c4702d0b8fa2c802dfb74280a3ec2b01a8c910c870b10b52fc5d591b05077f0c6bfc434de52baa76c7665ed957050921772af0adae908be
pkgname = openfst pkgname = openfst

View File

@ -4,18 +4,16 @@
# Contributor: Christoph Drexler <chrdr at gmx dot at> # Contributor: Christoph Drexler <chrdr at gmx dot at>
pkgname=openfst pkgname=openfst
pkgver=1.6.7 pkgver=1.7.6
pkgrel=1 pkgrel=1
pkgdesc='Library for constructing, combining, optimizing, and searching weighted finite-state transducers (FSTs)' pkgdesc='Library for constructing, combining, optimizing, and searching weighted finite-state transducers (FSTs)'
arch=(i686 x86_64) arch=(i686 x86_64)
url='http://www.openfst.org' url='http://www.openfst.org'
license=(Apache) license=(Apache)
depends=(gcc-libs glibc python2) depends=(gcc-libs glibc python)
options=(!libtool) options=(!libtool)
source=(http://www.openfst.org/twiki/pub/FST/FstDownload/$pkgname-$pkgver.tar.gz) source=(http://www.openfst.org/twiki/pub/FST/FstDownload/$pkgname-$pkgver.tar.gz)
sha1sums=(b6c2771c8deee6879a2c98a0c975b078f59c7dd7) sha1sums=(3fb669b7c064c83f7768d9089b2914a782890474)
sha256sums=(e21a486d827cde6a592c8e91721e4540ad01a5ae35a60423cf17be4d716017f7)
sha512sums=(1963de3c3c08d2d97c4702d0b8fa2c802dfb74280a3ec2b01a8c910c870b10b52fc5d591b05077f0c6bfc434de52baa76c7665ed957050921772af0adae908be)
build() { build() {
cd $srcdir/$pkgname-$pkgver cd $srcdir/$pkgname-$pkgver
@ -32,8 +30,8 @@ build() {
OPTIONS+=' --enable-mpdt' # Enable MPDT extensions; Default: no OPTIONS+=' --enable-mpdt' # Enable MPDT extensions; Default: no
OPTIONS+=' --enable-ngram-fsts' # Enable NGramFst extensions; Default: no OPTIONS+=' --enable-ngram-fsts' # Enable NGramFst extensions; Default: no
OPTIONS+=' --enable-pdt' # Enable PDT extensions; Default: no OPTIONS+=' --enable-pdt' # Enable PDT extensions; Default: no
OPTIONS+=' --enable-python PYTHON=python2' # Enable Python extensions; Default: no OPTIONS+=' --enable-python PYTHON=python' # Enable Python extensions; Default: no
LIBS=-ldl ./configure $OPTIONS LIBS='-ldl' ./configure $OPTIONS
make make
} }