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