summaryrefslogtreecommitdiff
path: root/repo/hunspell/hunspell.xibuild
blob: d0206142fab5d3784d6a5da2277a5cf76b18be41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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
}