summaryrefslogtreecommitdiff
path: root/repo/libwpg/libwpg.xibuild
blob: 85c77b37e00fefb391014433b179979b50e5ce8c (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="libwpg"
DESC="Import filter and tools for WordPerfect Graphics"

MAKEDEPS=" doxygen librevenge libwpd"

PKG_VER=0.3.3
SOURCE="https://downloads.sourceforge.net/project/libwpg/libwpg/libwpg-$PKG_VER/libwpg-$PKG_VER.tar.bz2"

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

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

tools() {
	mkdir -p "$PKG_DEST"/usr
	mv "$PKG_DEST"/usr/bin "$PKG_DEST"/usr
}