summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/beep/beep_1.4.9.bb
blob: 8d332b2fafbe49ce2fd1a35c9593eb433a16c476 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
SUMMARY = "beep allows you to have the PC speaker issue beeps and beep patterns"
DESCRIPTION = "beep allows you to have the PC speaker issue beeps and beep \
patterns with given frequencies, durations, and spacing."
HOMEPAGE = "https://github.com/spkr-beep/beep"
BUGTRACKER = "https://github.com/spkr-beep/beep/issues"

LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"

SRC_URI = "git://github.com/spkr-beep/beep.git;protocol=https \
           file://0001-Do-not-use-Werror-as-it-fails-with-newer-clang-11.patch \
"
SRCREV = "8b85ddd09f73b9fd7caa5679298781a57af194ac"
S = "${WORKDIR}/git"

EXTRA_OEMAKE = " \
    COMPILER_gcc='${CC}' \
    LINKER_gcc='${CC}' \
    COMPILER_clang=no \
    LINKER_clang=no \
"

EXTRA_OEMAKE_toolchain-clang = " \
    COMPILER_clang='${CC}' \
    LINKER_clang='${CC}' \
    COMPILER_gcc=no \
    LINKER_gcc=no \
"

do_install() {
    oe_runmake install DESTDIR='${D}'
}