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

MAKEDEPS="meson ninja doxygen mesa"
DEPS="mesa"

PKG_VER=1.5.9
SOURCE=https://github.com/anholt/libepoxy/releases/download/$PKG_VER/libepoxy-$PKG_VER.tar.xz

DESC="Library handling OpenGL function pointer management"

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

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

package () {
    DESTDIR=$PKG_DEST ninja install
}