summaryrefslogtreecommitdiff
path: root/repo/libcdr/libcdr.xibuild
blob: 8e8389133c3b0943f0a43f1c72b91b883b91afb0 (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
#!/bin/sh

NAME="libcdr"
DESC="Import filter and tools for Corel DRAW files"

MAKEDEPS="boost doxygen icu lcms2 zlib librevenge"

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

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

check() {
	make check
}

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