blob: 81e1c62a07e04ec2e1608b369fd665ddd93816e9 [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001SUMMARY = "LDNS is a DNS library that facilitates DNS tool programming"
2HOMEPAGE = "https://nlnetlabs.nl/ldns"
3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=34330f15b2b4abbbaaa7623f79a6a019"
5
6SRC_URI = "https://www.nlnetlabs.nl/downloads/ldns/ldns-${PV}.tar.gz"
7SRC_URI[sha256sum] = "958229abce4d3aaa19a75c0d127666564b17216902186e952ca4aef47c6d7fa3"
8
9DEPENDS = "openssl"
10
11inherit autotools-brokensep
12
13PACKAGECONFIG ??= ""
14PACKAGECONFIG[drill] = "--with-drill,--without-drill"
15
16EXTRA_OECONF = "--with-ssl=${STAGING_EXECPREFIXDIR}"
17
18do_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}