summaryrefslogtreecommitdiff
path: root/packages/xorg-app/xev_cvs.bb
blob: 3ea9d05c63285a9e8ea2ddf47182731442dd0e8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
PV = "0.0+cvs${SRCDATE}"
DESCRIPTION = "X Event Viewer"
HOMEPAGE = "http://freedesktop.org/wiki/Software_2fxapps"
LICENSE = "MIT"
MAINTAINER = "Justin Patrin <papercrane@reversefold.com>"
SECTION = "x11/base"
DEPENDS = "libx11 libxau"
PR = "r1"

SRC_URI = "${FREEDESKTOP_CVS}/xapps;module=xev \
	   file://diet-x11.patch;patch=1"
S = "${WORKDIR}/xev"

do_compile() {
	${CC} -o xev xev.c -lX11 -lXau -I${STAGING_INCDIR} -L${STAGING_LIBDIR}
}

do_install() {
	install -d ${D}${bindir}
	install -m 755 ${PN} ${D}${bindir}
}