Willy Tu | 72a9b77 | 2021-02-09 15:32:01 -0800 | [diff] [blame] | 1 | PR = "r1" |
| 2 | PV = "0.1+git${SRCPV}" |
| 3 | LICENSE = "GPLv2" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 5 | |
| 6 | SRC_URI = "git://github.com/yrutschle/sslh" |
William A. Kennington III | e93c50b | 2021-05-07 15:53:01 -0700 | [diff] [blame] | 7 | SRCREV = "517e4ad5b4d57dae396790882bd4629947be1632" |
Willy Tu | 72a9b77 | 2021-02-09 15:32:01 -0800 | [diff] [blame] | 8 | S = "${WORKDIR}/git" |
| 9 | |
Willy Tu | 72a9b77 | 2021-02-09 15:32:01 -0800 | [diff] [blame] | 10 | DEPENDS += "libbsd" |
| 11 | DEPENDS += "libcap" |
| 12 | DEPENDS += "libconfig" |
| 13 | DEPENDS += "systemd" |
| 14 | DEPENDS += "pcre" |
| 15 | |
| 16 | EXTRA_OEMAKE += "DESTDIR=${D}" |
| 17 | EXTRA_OEMAKE += "PREFIX=${prefix}" |
| 18 | EXTRA_OEMAKE += "USELIBCAP=1" |
| 19 | EXTRA_OEMAKE += "USELIBBSD=1" |
| 20 | EXTRA_OEMAKE += "USESYSTEMD=1" |
| 21 | |
William A. Kennington III | 837bfa8 | 2021-07-26 00:01:36 -0700 | [diff] [blame^] | 22 | do_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 Tu | 72a9b77 | 2021-02-09 15:32:01 -0800 | [diff] [blame] | 28 | do_compile() { |
William A. Kennington III | 837bfa8 | 2021-07-26 00:01:36 -0700 | [diff] [blame^] | 29 | oe_runmake |
Willy Tu | 72a9b77 | 2021-02-09 15:32:01 -0800 | [diff] [blame] | 30 | } |
| 31 | |
| 32 | do_install() { |
William A. Kennington III | 837bfa8 | 2021-07-26 00:01:36 -0700 | [diff] [blame^] | 33 | oe_runmake install |
Willy Tu | 72a9b77 | 2021-02-09 15:32:01 -0800 | [diff] [blame] | 34 | } |