diff options
Diffstat (limited to 'repo/libmspub')
-rw-r--r-- | repo/libmspub/libmspub.xibuild | 31 | ||||
-rw-r--r-- | repo/libmspub/musl.patch | 12 |
2 files changed, 43 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 +} diff --git a/repo/libmspub/musl.patch b/repo/libmspub/musl.patch new file mode 100644 index 0000000..f800e2f --- /dev/null +++ b/repo/libmspub/musl.patch @@ -0,0 +1,12 @@ +diff --git a/src/lib/MSPUBMetaData.h b/src/lib/MSPUBMetaData.h +index 9167f4f..4456c2a 100644 +--- a/src/lib/MSPUBMetaData.h ++++ b/src/lib/MSPUBMetaData.h +@@ -13,6 +13,7 @@ + #include <map> + #include <utility> + #include <vector> ++#include <sys/types.h> /* for uintX_t types */ + + #include <librevenge/librevenge.h> + |