summaryrefslogtreecommitdiff
path: root/repo/libexttextcat/libexttextcat.xibuild
blob: ac006cf508bce5bb65be4bf2567c9d0b57b5f2e1 (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
#!/bin/sh

NAME="libexttextcat"
DESC="An N-Gram-Based Text Categorization library"

MAKEDEPS=""

PKG_VER=3.4.6
SOURCE="https://dev-www.libreoffice.org/src/libexttextcat/libexttextcat-$PKG_VER.tar.xz"

build() {
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$PKG_DEST" install
}