summaryrefslogtreecommitdiff
path: root/repo/liborcus/liborcus.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/liborcus/liborcus.xibuild')
-rw-r--r--repo/liborcus/liborcus.xibuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/repo/liborcus/liborcus.xibuild b/repo/liborcus/liborcus.xibuild
new file mode 100644
index 0000000..7c43ca0
--- /dev/null
+++ b/repo/liborcus/liborcus.xibuild
@@ -0,0 +1,36 @@
+#!/bin/sh
+
+NAME="liborcus"
+DESC="Library for processing spreadsheet documents"
+
+MAKEDEPS="boost mdds libixion zlib"
+
+PKG_VER=0.16.1
+SOURCE="https://kohei.us/files/orcus/src/liborcus-$PKG_VER.tar.xz"
+
+ADDITIONAL="
+fix-include.patch
+"
+
+prepare () {
+ apply_patches
+}
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --disable-python
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+}
+