#!/bin/sh

NAME="liborcus"
DESC="Library for processing spreadsheet documents"

MAKEDEPS="boost mdds libixion zlib"

PKG_VER=0.17.2
BRANCH=$PKG_VER
SOURCE="https://gitlab.com/orcus/orcus.git"

ADDITIONAL="
fix-include.patch
"

prepare () {
    ./autogen.sh
    apply_patches
}

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


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