2013-09-28 08:25:47 +09:00
|
|
|
# Description: Advanced spell checker
|
2021-01-29 13:03:25 +00:00
|
|
|
# URL: https://hunspell.github.io/
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2013-09-28 08:25:47 +09:00
|
|
|
# Depends on:
|
|
|
|
|
|
|
|
name=hunspell
|
2019-04-01 17:15:45 +09:00
|
|
|
version=1.7.0
|
2013-09-29 18:31:45 +09:00
|
|
|
release=2
|
2017-09-27 13:38:44 +09:00
|
|
|
source=(https://github.com/hunspell/$name/archive/v$version/$name-v$version.tar.gz)
|
2013-09-28 08:25:47 +09:00
|
|
|
|
|
|
|
build() {
|
2021-01-29 13:03:25 +00:00
|
|
|
cd $name-$version
|
2017-05-26 14:53:36 +09:00
|
|
|
|
2021-01-29 13:03:25 +00:00
|
|
|
autoreconf -if
|
2017-05-26 14:53:36 +09:00
|
|
|
|
2021-01-29 13:03:25 +00:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--disable-nls
|
2019-04-01 17:15:45 +09:00
|
|
|
|
2021-01-29 13:03:25 +00:00
|
|
|
make prefix=$PKG/usr install
|
2013-09-28 08:25:47 +09:00
|
|
|
|
2021-01-29 13:03:25 +00:00
|
|
|
ln -s libhunspell-1.7.so.0.0.1 $PKG/usr/lib/libhunspell.so
|
|
|
|
rm -rf $PKG/usr/share/man/hu
|
2013-09-28 08:25:47 +09:00
|
|
|
}
|