Hacked .22 version

This commit is contained in:
Filip Gralinski 2022-12-27 12:09:04 +01:00
parent 4427607529
commit 718ea6a0f1

View File

@ -19,6 +19,9 @@ sha256sums=(9319aeb31d1e2950ae25449884e255cc2bc9dfaf987f601590763e61a10fbdde)
build() {
cd $srcdir/$pkgname-$pkgver
sed -i 's/3.6/3.1/' configure
sed -i 's/:3/:4/' configure
# Options according to http://openfst.cs.nyu.edu/twiki/bin/view/FST/ReadMe
OPTIONS='--prefix=/usr --disable-dependency-tracking'
OPTIONS+=' --enable-bin' # Enable fst::script and command-line binaries; Default: yes
@ -31,7 +34,6 @@ build() {
OPTIONS+=' --enable-mpdt' # Enable MPDT extensions; Default: no
OPTIONS+=' --enable-ngram-fsts' # Enable NGramFst extensions; Default: no
OPTIONS+=' --enable-pdt' # Enable PDT extensions; Default: no
OPTIONS+=' --enable-python PYTHON=python' # Enable Python extensions; Default: no
LIBS='-ldl' ./configure $OPTIONS
make