blob: 2ce669154a44cfd83e998a43f63a290630be98c9 [file] [log] [blame]
Brad Bishope42b3e32020-01-15 22:08:42 -05001SUMMARY = "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[md5sum] = "166262a46995d9972aba417fd091acd5"
8SRC_URI[sha256sum] = "8ac84c16bdca60e710eea75782356f3ac3b55680d40e1530d7cea474ac208229"
9
10DEPENDS = "openssl"
11
12inherit autotools-brokensep
13
14PACKAGECONFIG ??= ""
15PACKAGECONFIG[drill] = "--with-drill,--without-drill"
16
17EXTRA_OECONF = "--with-ssl=${STAGING_EXECPREFIXDIR} \
18 libtool=${TARGET_PREFIX}libtool"
Patrick Williams0ca19cc2021-08-16 14:03:13 -050019
20do_install:append() {
21 sed -e 's@[^ ]*-ffile-prefix-map=[^ "]*@@g' \
22 -e 's@[^ ]*-fdebug-prefix-map=[^ "]*@@g' \
23 -e 's@[^ ]*-fmacro-prefix-map=[^ "]*@@g' \
24 -i ${D}${libdir}/pkgconfig/*.pc
25}