Add /usr/lib/fst to ld.so.conf and fix python option.
This commit is contained in:
parent
66a8bb1ad0
commit
4171df2b5e
2
.SRCINFO
2
.SRCINFO
@ -1,7 +1,7 @@
|
|||||||
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.5.0
|
pkgver = 1.5.0
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = http://www.openfst.org/
|
url = http://www.openfst.org/
|
||||||
arch = i686
|
arch = i686
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
|
10
PKGBUILD
10
PKGBUILD
@ -1,8 +1,9 @@
|
|||||||
# Maintainer: Christoph Drexler <chrdr at gmx dot at>
|
# Maintainer: Andreas Hauser <andy-aur@splashground.de>
|
||||||
|
# Former Maintainer: Christoph Drexler <chrdr at gmx dot at>
|
||||||
|
|
||||||
pkgname=openfst
|
pkgname=openfst
|
||||||
pkgver=1.5.0
|
pkgver=1.5.0
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
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/"
|
||||||
@ -28,7 +29,7 @@ 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" # Enable Python extensions; Default: no
|
OPTIONS+=" --enable-python PYTHON=python2" # Enable Python extensions; Default: no
|
||||||
LIBS="-ldl" ./configure $OPTIONS
|
LIBS="-ldl" ./configure $OPTIONS
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
@ -36,4 +37,7 @@ build() {
|
|||||||
package() {
|
package() {
|
||||||
cd ${srcdir}/${pkgname}-${pkgver}
|
cd ${srcdir}/${pkgname}-${pkgver}
|
||||||
make DESTDIR=${pkgdir} install
|
make DESTDIR=${pkgdir} install
|
||||||
|
|
||||||
|
install -dm755 "$pkgdir"/etc/ld.so.conf.d/
|
||||||
|
echo '/usr/lib/fst' > "$pkgdir"/etc/ld.so.conf.d/openfst.conf
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user