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/libixion/fix.patch | 11 +++++++++++ repo/libixion/libixion.xibuild | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 repo/libixion/fix.patch create mode 100644 repo/libixion/libixion.xibuild (limited to 'repo/libixion') diff --git a/repo/libixion/fix.patch b/repo/libixion/fix.patch new file mode 100644 index 0000000..8b4b363 --- /dev/null +++ b/repo/libixion/fix.patch @@ -0,0 +1,11 @@ +--- a/src/libixion/model_context.cpp ++++ b/src/libixion/model_context.cpp +@@ -17,7 +17,7 @@ + + namespace ixion { + +-model_context::input_cell::input_cell(nullptr_t) : type(celltype_t::empty) {} ++model_context::input_cell::input_cell(std::nullptr_t p) : type(celltype_t::empty) {} + model_context::input_cell::input_cell(bool b) : type(celltype_t::boolean) + { + value.boolean = b; diff --git a/repo/libixion/libixion.xibuild b/repo/libixion/libixion.xibuild new file mode 100644 index 0000000..7f38a07 --- /dev/null +++ b/repo/libixion/libixion.xibuild @@ -0,0 +1,36 @@ +#!/bin/sh + +NAME="libixion" +DESC="A general purpose formula parser & interpreter" + +MAKEDEPS=" boost mdds" + +PKG_VER=0.16.1 +SOURCE="https://kohei.us/files/ixion/src/libixion-$PKG_VER.tar.xz" + +ADDITIONAL=" +fix.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