summaryrefslogtreecommitdiff
path: root/repo/aspell/aspell.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-03 13:05:13 +0100
committerdavidovski <david@davidovski.xyz>2022-06-03 13:05:13 +0100
commit66c326b6d65388e9f1003715ad9675505f01f9d2 (patch)
tree40d7355cccfa3464902cf339a563e744c28a7101 /repo/aspell/aspell.xibuild
parentfccdaa986f67f820df2914bef851d5fed77abac8 (diff)
added porting from alpine linux
Diffstat (limited to 'repo/aspell/aspell.xibuild')
-rw-r--r--repo/aspell/aspell.xibuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/repo/aspell/aspell.xibuild b/repo/aspell/aspell.xibuild
new file mode 100644
index 0000000..174b779
--- /dev/null
+++ b/repo/aspell/aspell.xibuild
@@ -0,0 +1,36 @@
+#!/bin/sh
+
+NAME="aspell"
+DESC="A spell checker designed to eventually replace Ispell"
+
+MAKEDEPS=" ncurses perl gettext"
+
+PKG_VER=0.60.8
+SOURCE="https://ftp.gnu.org/gnu/aspell/aspell-$PKG_VER.tar.gz"
+
+ADDITIONAL="
+CVE-2019-25051.patch
+"
+
+prepare() {
+ apply_patches
+}
+
+build() {
+ LDFLAGS="-lintl" \
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-dict-dir=/usr/share/aspell \
+ --enable-pkgdatadir=/usr/share/aspell \
+ --enable-compile-in-filters
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+}