summaryrefslogtreecommitdiff
path: root/repo/libabw/libabw.xibuild
blob: 101afaccd01d2f47510c58ae738b01d0a0e1c02f (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
#!/bin/sh

NAME="libabw"
DESC="Import filter and tools for AbiWord documents"

MAKEDEPS="doxygen gperf perl librevenge libxml2 zlib"

PKG_VER=0.1.3
SOURCE="https://dev-www.libreoffice.org/src/libabw/libabw-$PKG_VER.tar.xz"

build() {
	export CPPFLAGS='-DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED'
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

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

tools() {
	amove usr/bin
}