summaryrefslogtreecommitdiff
path: root/dri/drm_cvs.oe
blob: 18a4cc5ad70c8bf5806e9596f62e772a0bf49017 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
SECTION = "x11/base"
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
}