summaryrefslogtreecommitdiff
path: root/repo/system/tomlc99.xibuild
blob: 83da42764dc64fc6ea4810f640e2165a4670ab1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
}