Andrew Geissler | 8fc454f | 2020-12-11 16:27:59 -0600 | [diff] [blame^] | 1 | DESCRIPTION = "beep is a command line tool for linux that beeps the PC speaker" |
| 2 | LICENSE = "GPL-2.0" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" |
| 4 | |
| 5 | SRC_URI = "\ |
| 6 | http://johnath.com/beep/beep-${PV}.tar.gz \ |
| 7 | file://linux-input.patch \ |
| 8 | " |
| 9 | |
| 10 | SRC_URI[sha256sum] = "5c0445dac43950b7c7c3f235c6fb21f620ab3fd2f3aafaf09896e5730fcf49a1" |
| 11 | |
| 12 | S = "${WORKDIR}/${BPN}-${PV}" |
| 13 | |
| 14 | EXTRA_OEMAKE += 'CC="${CC}"' |
| 15 | EXTRA_OEMAKE += 'FLAGS="${CFLAGS} ${LDFLAGS}"' |
| 16 | |
| 17 | do_configure[noexec] = "1" |
| 18 | |
| 19 | do_compile() { |
| 20 | oe_runmake |
| 21 | } |
| 22 | |
| 23 | do_install() { |
| 24 | install -Dm 0755 ${B}/${PN} ${D}${bindir}/${PN} |
| 25 | } |