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/inih/inih.xibuild | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 repo/inih/inih.xibuild (limited to 'repo/inih/inih.xibuild') diff --git a/repo/inih/inih.xibuild b/repo/inih/inih.xibuild new file mode 100644 index 0000000..e01b046 --- /dev/null +++ b/repo/inih/inih.xibuild @@ -0,0 +1,31 @@ +#!/bin/sh + +NAME="inih" +DESC="Simple .INI file parser for embedded systems" + +MAKEDEPS=" meson" + +PKG_VER=55 +SOURCE="https://github.com/benhoyt/inih/archive/r$PKG_VER.tar.gz" + +prepare() { + sed -i "s|@PKGVER@|$PKG_VER|" meson.build +} + +build() { + meson --prefix=/usr \ + -Ddefault_library=both \ + -Ddistro_install=true \ + -Dwith_INIReader=true \ + -Dmulti-line_entries=true \ + -Dutf-8_bom=true \ + -Dinline_comments=true \ + -Duse_heap=false \ + . output + meson compile ${JOBS:+-j ${JOBS}} -C output +} + +package() { + DESTDIR="$PKG_DEST" meson install --no-rebuild -C output +} + -- cgit v1.2.1