summaryrefslogtreecommitdiff
path: root/repo/hunspell/hunspell.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/hunspell/hunspell.xibuild')
-rw-r--r--repo/hunspell/hunspell.xibuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/repo/hunspell/hunspell.xibuild b/repo/hunspell/hunspell.xibuild
new file mode 100644
index 0000000..d020614
--- /dev/null
+++ b/repo/hunspell/hunspell.xibuild
@@ -0,0 +1,37 @@
+#!/bin/sh
+
+NAME="hunspell"
+DESC="Spell checker and morphological analyzer library and program"
+
+MAKEDEPS="gettext ncurses readline autoconf automake libtool"
+
+PKG_VER=1.7.0
+SOURCE="https://github.com/hunspell/hunspell/archive/v$PKG_VER.tar.gz"
+
+ADDITIONAL="
+CVE-2019-16707.patch
+"
+
+prepare() {
+ apply_patches
+ autoreconf -vif
+}
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --with-ui \
+ --with-readline \
+ --disable-static \
+ --without-included-gettext
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make -j1 DESTDIR="$PKG_DEST" install
+}
+