Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "A clock combined with a game of pong" |
| 2 | LICENSE = "GPLv2+" |
| 3 | DEPENDS = "virtual/libx11 xdmcp xau" |
| 4 | |
Brad Bishop | 6dbb316 | 2019-11-25 09:41:34 -0500 | [diff] [blame] | 5 | inherit features_check pkgconfig |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 6 | # depends on virtual/libx11 |
| 7 | REQUIRED_DISTRO_FEATURES = "x11" |
| 8 | |
| 9 | SRC_URI = "file://pong-clock-no-flicker.c" |
| 10 | |
| 11 | LIC_FILES_CHKSUM = "file://pong-clock-no-flicker.c;beginline=1;endline=23;md5=dd248d50f73f746d1ee78586b0b2ebd3" |
| 12 | |
| 13 | S = "${WORKDIR}" |
| 14 | |
| 15 | do_compile () { |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 16 | ${CC} ${CFLAGS} ${LDFLAGS} -o pong-clock pong-clock-no-flicker.c `pkg-config --cflags --libs x11 xau xdmcp` |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 17 | } |
| 18 | |
| 19 | do_install () { |
| 20 | install -d ${D}${bindir} |
| 21 | install -m 0755 pong-clock ${D}${bindir} |
| 22 | } |