From d2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 15 Jun 2022 20:02:02 +0100 Subject: added deps for qemu --- repo/liborcus/fix-include.patch | 10 ++++++++++ repo/liborcus/liborcus.xibuild | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 repo/liborcus/fix-include.patch create mode 100644 repo/liborcus/liborcus.xibuild (limited to 'repo/liborcus') diff --git a/repo/liborcus/fix-include.patch b/repo/liborcus/fix-include.patch new file mode 100644 index 0000000..407ef03 --- /dev/null +++ b/repo/liborcus/fix-include.patch @@ -0,0 +1,10 @@ +--- a/include/orcus/global.hpp ++++ b/include/orcus/global.hpp +@@ -11,6 +11,7 @@ + #include "types.hpp" + #include "env.hpp" + ++#include + #include + #include + diff --git a/repo/liborcus/liborcus.xibuild b/repo/liborcus/liborcus.xibuild new file mode 100644 index 0000000..7c43ca0 --- /dev/null +++ b/repo/liborcus/liborcus.xibuild @@ -0,0 +1,36 @@ +#!/bin/sh + +NAME="liborcus" +DESC="Library for processing spreadsheet documents" + +MAKEDEPS="boost mdds libixion zlib" + +PKG_VER=0.16.1 +SOURCE="https://kohei.us/files/orcus/src/liborcus-$PKG_VER.tar.xz" + +ADDITIONAL=" +fix-include.patch +" + +prepare () { + apply_patches +} + +build() { + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --disable-python + make +} + +check() { + make check +} + +package() { + make DESTDIR="$PKG_DEST" install +} + -- cgit v1.2.1