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