summaryrefslogtreecommitdiff
path: root/repo/system/tomlc99/tomlc99.xibuild
blob: 6387c962d9107626d54f03a7e600c93697b0471e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

MAKEDEPS="make"
DEPS="musl"

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 -p $PKG_DEST/usr/lib
    mkdir -p $PKG_DEST/usr/include
    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
}