summaryrefslogtreecommitdiff
path: root/repo/libwpd/libwpd.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/libwpd/libwpd.xibuild')
-rw-r--r--repo/libwpd/libwpd.xibuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/repo/libwpd/libwpd.xibuild b/repo/libwpd/libwpd.xibuild
new file mode 100644
index 0000000..a50c109
--- /dev/null
+++ b/repo/libwpd/libwpd.xibuild
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+NAME="libwpd"
+DESC="Import filter and tools for WordPerfect Documents"
+
+MAKEDEPS=" librevenge doxygen"
+
+PKG_VER=0.10.3
+SOURCE="https://downloads.sourceforge.net/project/libwpd/libwpd/libwpd-$PKG_VER/libwpd-$PKG_VER.tar.bz2"
+
+ADDITIONAL="
+libwpd-gcc11.patch
+"
+
+prepare() {
+ apply_patches
+}
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+}
+