William A. Kennington III | b2c5306 | 2021-02-09 17:48:19 -0800 | [diff] [blame] | 1 | LICENSE = "BSD" |
William A. Kennington III | e3f1bd8 | 2021-07-25 23:51:49 -0700 | [diff] [blame] | 2 | LIC_FILES_CHKSUM = "file://COPYING;md5=667d4ad55f5fbf4c3e853e8acd0f74de" |
William A. Kennington III | b2c5306 | 2021-02-09 17:48:19 -0800 | [diff] [blame] | 3 | |
| 4 | PV = "0.1+git${SRCPV}" |
Patrick Williams | bb99d22 | 2022-01-24 15:55:09 -0600 | [diff] [blame] | 5 | SRC_URI = "git://github.com/yrutschle/conf2struct;branch=master;protocol=https" |
William A. Kennington III | 32e3f01 | 2021-08-05 16:48:56 -0700 | [diff] [blame] | 6 | SRCREV = "6bc9eed1eb50175e5fda791f27d85e72f5a6ac78" |
William A. Kennington III | b2c5306 | 2021-02-09 17:48:19 -0800 | [diff] [blame] | 7 | S = "${WORKDIR}/git" |
| 8 | |
| 9 | SRC_URI += " \ |
| 10 | file://0001-makefile-Add-missing-LDFLAGS.patch \ |
| 11 | file://0001-conf2struct-Use-the-right-perl.patch \ |
| 12 | " |
| 13 | |
| 14 | inherit native |
| 15 | |
| 16 | DEPENDS += " \ |
| 17 | libconfig-native \ |
| 18 | libconfig-perl-native \ |
| 19 | " |
| 20 | |
| 21 | EXTRA_OEMAKE += " \ |
| 22 | DESTDIR=${D} \ |
| 23 | prefix=${prefix} \ |
| 24 | " |
| 25 | |
| 26 | do_compile() { |
| 27 | oe_runmake checker |
| 28 | } |
| 29 | |
| 30 | do_install() { |
| 31 | oe_runmake install |
| 32 | } |