diff options
author | davidovski <david@davidovski.xyz> | 2022-02-09 16:23:33 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-02-09 16:23:33 +0000 |
commit | 99beb5841fa92376950f1388ed001decb28149a1 (patch) | |
tree | 4e5ed2ccae962d3ddad1538aa3eab247d89db8c7 /repo/system | |
parent | 4192355923cd08e4fc47f938e1cc851ec455b2ee (diff) |
added libtoml
Diffstat (limited to 'repo/system')
-rw-r--r-- | repo/system/tomlc99.xibuild | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/repo/system/tomlc99.xibuild b/repo/system/tomlc99.xibuild new file mode 100644 index 0000000..83da427 --- /dev/null +++ b/repo/system/tomlc99.xibuild @@ -0,0 +1,19 @@ +#!/bin/bash + +MAKEDEPS=(make) +DEPS=(glibc) + +PKG_VER=1.0 +SOURCE=https://github.com/cktan/tomlc99.git +DESC="Library for parsing toml v1.0 compliant files, in c99" + +build () { + make +} + +package () { + mkdir -pv $PKG_DEST/usr/{include,lib} + install toml.h $PKG_DEST/usr/include + install libtoml.so.$PKG_VER $PKG_DEST/usr/lib + ln -s libtoml.so.$PKG_VER $PKG_DEST/usr/lib/libtoml.so +} |