summaryrefslogtreecommitdiff
path: root/repo/libmspub/libmspub.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/libmspub/libmspub.xibuild')
-rw-r--r--repo/libmspub/libmspub.xibuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/repo/libmspub/libmspub.xibuild b/repo/libmspub/libmspub.xibuild
new file mode 100644
index 0000000..2fc5051
--- /dev/null
+++ b/repo/libmspub/libmspub.xibuild
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+NAME="libmspub"
+DESC="Import filter and tools for MS Publisher files"
+
+MAKEDEPS="boost librevenge zlib icu libwpd libwpg doxygen"
+
+PKG_VER=0.1.4
+SOURCE="https://dev-www.libreoffice.org/src/libmspub/libmspub-$PKG_VER.tar.xz"
+
+ADDITIONAL="
+musl.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
+}