summaryrefslogtreecommitdiff
path: root/repo/system/jsoncpp.xibuild
blob: 01d3bb620cbd728d911ba042cbe368f2c16074b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh

MAKEDEPS="make meson"
DEPS="gcc musl"

PKG_VER=1.9.5
SOURCE=https://github.com/open-source-parsers/jsoncpp/archive/$PKG_VER.tar.gz
DESC="JSON C++ library"

build () {
    mkdir build &&
    cd build &&

    meson --prefix=/usr \
          --buildtype=release \
          .. &&
    ninja
        
}

package () {
    DESTDIR=$PKG_DEST ninja install
}