Hacked .22 version
This commit is contained in:
parent
4427607529
commit
718ea6a0f1
4
PKGBUILD
4
PKGBUILD
@ -19,6 +19,9 @@ sha256sums=(9319aeb31d1e2950ae25449884e255cc2bc9dfaf987f601590763e61a10fbdde)
|
|||||||
build() {
|
build() {
|
||||||
cd $srcdir/$pkgname-$pkgver
|
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 according to http://openfst.cs.nyu.edu/twiki/bin/view/FST/ReadMe
|
||||||
OPTIONS='--prefix=/usr --disable-dependency-tracking'
|
OPTIONS='--prefix=/usr --disable-dependency-tracking'
|
||||||
OPTIONS+=' --enable-bin' # Enable fst::script and command-line binaries; Default: yes
|
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-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=python' # Enable Python extensions; Default: no
|
|
||||||
LIBS='-ldl' ./configure $OPTIONS
|
LIBS='-ldl' ./configure $OPTIONS
|
||||||
|
|
||||||
make
|
make
|
||||||
|
Loading…
Reference in New Issue
Block a user