summaryrefslogtreecommitdiff
path: root/repo/libexttextcat/libexttextcat.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/libexttextcat/libexttextcat.xibuild')
-rw-r--r--repo/libexttextcat/libexttextcat.xibuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/repo/libexttextcat/libexttextcat.xibuild b/repo/libexttextcat/libexttextcat.xibuild
new file mode 100644
index 0000000..ac006cf
--- /dev/null
+++ b/repo/libexttextcat/libexttextcat.xibuild
@@ -0,0 +1,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
+}
+