summaryrefslogtreecommitdiff
path: root/repo/hunspell/hunspell.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
committerdavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
commitd2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 (patch)
tree684a17eebf446aa1adab1097616f1882c8d51568 /repo/hunspell/hunspell.xibuild
parentd1fc3393cca72e8e432f827f7624e38734fad6dc (diff)
added deps for qemu
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
+}
+