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