diff options
author | davidovski <david@davidovski.xyz> | 2022-06-15 20:02:02 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-06-15 20:02:02 +0100 |
commit | d2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 (patch) | |
tree | 684a17eebf446aa1adab1097616f1882c8d51568 /repo/librevenge | |
parent | d1fc3393cca72e8e432f827f7624e38734fad6dc (diff) |
added deps for qemu
Diffstat (limited to 'repo/librevenge')
-rw-r--r-- | repo/librevenge/librevenge.xibuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/repo/librevenge/librevenge.xibuild b/repo/librevenge/librevenge.xibuild new file mode 100644 index 0000000..3c5c224 --- /dev/null +++ b/repo/librevenge/librevenge.xibuild @@ -0,0 +1,36 @@ +#!/bin/sh + +NAME="librevenge" +DESC="Base library for writing document import filters" + +MAKEDEPS="boost zlib cppunit doxygen" + +PKG_VER=0.0.4 +SOURCE="https://sourceforge.net/projects/libwpd/files/librevenge/librevenge-$PKG_VER/librevenge-$PKG_VER.tar.xz" + +build() { + # workaround for boost-1.59 + # http://sourceforge.net/p/libwpd/tickets/6/ + # http://sourceforge.net/p/libwpd/librevenge/ci/0beee70d1bf52f0d81b60ee8c373e477991fe546/ + export CPPFLAGS=-DBOOST_ERROR_CODE_HEADER_ONLY + + CXXFLAGS="$CXXFLAGS -Wno-error=implicit-fallthrough -Wno-error=parentheses" \ + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --disable-dependency-tracking \ + --enable-fast-install + make +} + +check() { + make check +} + +package() { + make DESTDIR="$PKG_DEST" install +} + |