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/inih/inih.xibuild | |
parent | d1fc3393cca72e8e432f827f7624e38734fad6dc (diff) |
added deps for qemu
Diffstat (limited to 'repo/inih/inih.xibuild')
-rw-r--r-- | repo/inih/inih.xibuild | 31 |
1 files changed, 31 insertions, 0 deletions
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 +} + |