Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 1 | SUMMARY = "LDNS is a DNS library that facilitates DNS tool programming" |
| 2 | HOMEPAGE = "https://nlnetlabs.nl/ldns" |
| 3 | LICENSE = "BSD-3-Clause" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=34330f15b2b4abbbaaa7623f79a6a019" |
| 5 | |
| 6 | SRC_URI = "https://www.nlnetlabs.nl/downloads/ldns/ldns-${PV}.tar.gz" |
| 7 | SRC_URI[sha256sum] = "958229abce4d3aaa19a75c0d127666564b17216902186e952ca4aef47c6d7fa3" |
| 8 | |
| 9 | DEPENDS = "openssl" |
| 10 | |
| 11 | inherit autotools-brokensep |
| 12 | |
| 13 | PACKAGECONFIG ??= "" |
| 14 | PACKAGECONFIG[drill] = "--with-drill,--without-drill" |
| 15 | |
| 16 | EXTRA_OECONF = "--with-ssl=${STAGING_EXECPREFIXDIR}" |
| 17 | |
| 18 | do_install:append() { |
| 19 | sed -e 's@[^ ]*-ffile-prefix-map=[^ "]*@@g' \ |
| 20 | -e 's@[^ ]*-fdebug-prefix-map=[^ "]*@@g' \ |
| 21 | -e 's@[^ ]*-fmacro-prefix-map=[^ "]*@@g' \ |
| 22 | -i ${D}${libdir}/pkgconfig/*.pc |
| 23 | } |