summaryrefslogtreecommitdiff
path: root/packages/dri/drm_cvs.bb
blob: 4bf3a38402fa3d66cae8b719e889cab2de733f54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
SECTION = "x11/base"
LICENSE = "MIT"
SRC_URI = "cvs://anoncvs@dri.freedesktop.org/cvs/dri;module=drm;method=pserver \
	file://config.patch;patch=1"

PV = "0.0cvs${CVSDATE}"
PR = "r1"

S = "${WORKDIR}/drm"

do_compile() {
	oe_runmake -C libdrm
}

do_stage() {
	oe_libinstall -a -C libdrm libxf86drm ${STAGING_LIBDIR}
	for i in xf86drmCompat.h xf86drm.h; do
		install -m 0644 libdrm/$i ${STAGING_INCDIR}
	done
	for i in drm.h; do
		install -m 0644 shared/$i ${STAGING_INCDIR}
	done
}