Tomas Frydrych 0e566b3483 firmware: use common include to set source revision and include date in version
The firmware is split over multiple packages all of which need to use the same
source revision. Also, the firmware is currently not formally versioned, so
at least use the date the firmware was released in the versions.
2012-06-22 07:50:50 +01:00

39 lines
843 B
PHP

DESCRIPTION = "Graphics libraries for BCM2835."
LICENSE = "proprietary-binary"
LIC_FILES_CHKSUM = "file://LICENCE;md5=86e53f5f5909ee66900418028de11780"
PROVIDES += "virtual/egl"
include ../common/firmware.inc
SRC_URI = "git://github.com/raspberrypi/firmware.git;protocol=git;branch=master\
file://egl.pc"
S = "${WORKDIR}/git/${VCDIR}"
INCPR = "r0"
inherit pkgconfig
do_install () {
install -d ${D}${bindir}
cp -R bin/* ${D}${bindir}
install -d ${D}${sbindir}
cp -R sbin/* ${D}${sbindir}
install -d ${D}${libdir}
cp -R lib/* ${D}${libdir}
install -d ${D}${includedir}
cp -R include/* ${D}${includedir}
install -d ${D}${libdir}/pkgconfig
install -m 0644 ${WORKDIR}/egl.pc ${D}${libdir}/pkgconfig/
}
FILES_${PN} = "${bindir}/* ${sbindir}/* ${libdir}/lib*.so*"
FILES_${PN}-dev += "${libdir}/pkgconfig"