97b786d9e409d0d27b5a607a428bff13dbde1b0c
[vuplus_openvuplus_3.0] / meta-bsp / recipes-graphics / libgles / libgles.inc
1 SECTION = "base"
2 LICENSE = "CLOSED"
3
4 PROVIDES += "libgles"
5 RPROVIDES_${PN} += "libgles"
6
7 PV="15.1"
8 PR="${SRCDATE}.${SRCDATE_PR}"
9
10 SRC_URI = "http://archive.vuplus.com/download/build_support/vuplus/libgles-${MACHINE}-${PV}-${PR}.tar.gz"
11
12 S = "${WORKDIR}/libgles-${MACHINE}"
13
14 do_install() {
15         install -d ${D}${libdir}
16         install -m 0755 ${S}/lib/*.so ${D}${libdir}
17         ln -s libv3ddriver.so ${D}${libdir}/libEGL.so
18         ln -s libv3ddriver.so ${D}${libdir}/libGLESv2.so
19
20         install -d ${D}${includedir}
21         cp -a ${S}/include/* ${D}${includedir}/
22 }
23
24 do_package_qa() {
25 }
26
27 PACKAGE_ARCH := "${MACHINE_ARCH}"
28 PACKAGES = "${PN}"
29 FILES_${PN}="/usr/lib /usr/include"
30