summaryrefslogtreecommitdiff
path: root/repo/x11/libepoxy.xibuild
blob: 3d79d7792d0872c9f5764a629ed8218ddf8283d9 (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"
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
}