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

NAME="librist"
DESC="Reliable Internet Stream Transport (RIST)"

MAKEDEPS="meson ninja "
DEPS="linux-headers jsoncpp musl "

PKG_VER=0.2.7
SOURCE="https://code.videolan.org/rist/librist/-/archive/v$PKG_VER/librist-v$PKG_VER.tar.gz"

build () {
    mkdir build &&
    cd build    &&
    meson --prefix=/usr \
            .. &&
    ninja
}

package () {
    DESTDIR=$PKG_DEST ninja install
}