blob: 5a7a9b14e0ae7b2d2d1446be69c3330db4746986 [file] [log] [blame]
Willy Tu72a9b772021-02-09 15:32:01 -08001PR = "r1"
2PV = "0.1+git${SRCPV}"
3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
5
6SRC_URI = "git://github.com/yrutschle/sslh"
William A. Kennington IIIe93c50b2021-05-07 15:53:01 -07007SRCREV = "517e4ad5b4d57dae396790882bd4629947be1632"
Willy Tu72a9b772021-02-09 15:32:01 -08008S = "${WORKDIR}/git"
9
Willy Tu72a9b772021-02-09 15:32:01 -080010DEPENDS += "libbsd"
11DEPENDS += "libcap"
12DEPENDS += "libconfig"
13DEPENDS += "systemd"
14DEPENDS += "pcre"
15
16EXTRA_OEMAKE += "DESTDIR=${D}"
17EXTRA_OEMAKE += "PREFIX=${prefix}"
18EXTRA_OEMAKE += "USELIBCAP=1"
19EXTRA_OEMAKE += "USELIBBSD=1"
20EXTRA_OEMAKE += "USESYSTEMD=1"
21
William A. Kennington III837bfa82021-07-26 00:01:36 -070022do_patch() {
23 # Workaround timestamps of the source being later than the generated,
24 # vendored output files. This non-determinism sometimes causes failures.
25 sed -i '/conf2struct/d' ${S}/Makefile
26}
27
Willy Tu72a9b772021-02-09 15:32:01 -080028do_compile() {
William A. Kennington III837bfa82021-07-26 00:01:36 -070029 oe_runmake
Willy Tu72a9b772021-02-09 15:32:01 -080030}
31
32do_install() {
William A. Kennington III837bfa82021-07-26 00:01:36 -070033 oe_runmake install
Willy Tu72a9b772021-02-09 15:32:01 -080034}