2017-11-26 22:24:57 +11:00
|
|
|
# Description: A wrapper library for generic spell checking.
|
|
|
|
# URL: https://abiword.github.io/enchant/
|
2014-11-10 23:28:07 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2014-04-25 19:05:11 +10:00
|
|
|
# Depends on: aspell glib hunspell
|
2006-11-14 09:01:22 +10:00
|
|
|
|
|
|
|
name=enchant
|
2017-11-26 22:24:57 +11:00
|
|
|
version=2.1.2
|
|
|
|
release=1
|
|
|
|
source=(https://github.com/$name/$name/archive/v$version/$name-$version.tar.gz)
|
2006-11-14 09:01:22 +10:00
|
|
|
|
|
|
|
build() {
|
2017-11-26 22:24:57 +11:00
|
|
|
cd $name-$version
|
2008-05-15 00:57:17 +10:00
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2017-11-26 22:24:57 +11:00
|
|
|
--with-myspell-dir=/usr/share/myspell
|
2008-05-15 00:57:17 +10:00
|
|
|
|
2017-11-26 22:24:57 +11:00
|
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
2008-05-15 00:57:17 +10:00
|
|
|
make
|
2008-03-18 22:06:30 +11:00
|
|
|
make DESTDIR=$PKG install
|
2006-11-14 09:01:22 +10:00
|
|
|
}
|