blob: d0794f8ee62ed29ccb1c0a5d69b6cc6617713a59 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "A clock combined with a game of pong"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00002LICENSE = "GPL-2.0-or-later"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05003DEPENDS = "virtual/libx11 xdmcp xau"
4
Brad Bishop6dbb3162019-11-25 09:41:34 -05005inherit features_check pkgconfig
Patrick Williamsc124f4f2015-09-15 14:41:29 -05006# depends on virtual/libx11
7REQUIRED_DISTRO_FEATURES = "x11"
8
9SRC_URI = "file://pong-clock-no-flicker.c"
10
11LIC_FILES_CHKSUM = "file://pong-clock-no-flicker.c;beginline=1;endline=23;md5=dd248d50f73f746d1ee78586b0b2ebd3"
12
13S = "${WORKDIR}"
14
15do_compile () {
Patrick Williamsc0f7c042017-02-23 20:41:17 -060016 ${CC} ${CFLAGS} ${LDFLAGS} -o pong-clock pong-clock-no-flicker.c `pkg-config --cflags --libs x11 xau xdmcp`
Patrick Williamsc124f4f2015-09-15 14:41:29 -050017}
18
19do_install () {
20 install -d ${D}${bindir}
21 install -m 0755 pong-clock ${D}${bindir}
22}