blob: 842d492843700563c1b0278bf72463cfb978faa7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
require mesa-dri-glsl-native.inc
LIC_FILES_CHKSUM = "file://glsl_parser.yy;beginline=2;endline=23;md5=a12a9c0208ee64a07ce314dfed4c81eb"
SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2"
SRC_URI[md5sum] = "01305591073a76b65267f69f27d635a3"
SRC_URI[sha256sum] = "511b8da34f8e69ed24caf422964fb7ae747f3b1d8093f6b8aa2602164a475a5e"
S = "${WORKDIR}/Mesa-${PV}/src/glsl/"
inherit native
# use default config for native build
do_configure_prepend() {
ln -sf ${S}/../../configs/default ${S}/../../configs/current
}
do_install() {
install -d ${D}/${bindir}/glsl
install -m 755 ${S}/builtin_compiler ${D}/${bindir}/glsl/builtin_compiler
install -m 755 ${S}/glsl_compiler ${D}/${bindir}/glsl/glsl_compiler
}
|