summaryrefslogtreecommitdiff
path: root/repo/liborcus/liborcus.xibuild
blob: 481b0ac50ea110354a68870e7dd1a7cfba3c8598 (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
36
#!/bin/sh

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

MAKEDEPS="boost mdds libixion zlib"

PKG_VER=0.17.2
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
}