summaryrefslogtreecommitdiff
path: root/repo/liborcus/liborcus.xibuild
blob: aefd7b9d8d5cf67f5dbdfa64e98c92aeee5a542f (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
#!/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
}