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" |
| 7 | SRCREV = "de8e5725c27ba6941f47254e6fcb485e94f2de35" |
| 8 | S = "${WORKDIR}/git" |
| 9 | |
| 10 | inherit perlnative |
| 11 | |
| 12 | DEPENDS += "conf2struct-native" |
| 13 | DEPENDS += "libbsd" |
| 14 | DEPENDS += "libcap" |
| 15 | DEPENDS += "libconfig" |
| 16 | DEPENDS += "systemd" |
| 17 | DEPENDS += "pcre" |
| 18 | |
| 19 | EXTRA_OEMAKE += "DESTDIR=${D}" |
| 20 | EXTRA_OEMAKE += "PREFIX=${prefix}" |
| 21 | EXTRA_OEMAKE += "USELIBCAP=1" |
| 22 | EXTRA_OEMAKE += "USELIBBSD=1" |
| 23 | EXTRA_OEMAKE += "USESYSTEMD=1" |
| 24 | |
| 25 | do_compile() { |
| 26 | oe_runmake |
| 27 | } |
| 28 | |
| 29 | do_install() { |
| 30 | oe_runmake install |
| 31 | } |