Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | DESCRIPTION = "This package contains the DNS.pm module with friends." |
| 2 | HOMEPAGE = "http://www.net-dns.org/" |
| 3 | SECTION = "libs" |
| 4 | LICENSE = "Artistic-1.0 | GPL-1.0+" |
| 5 | |
| 6 | LIC_FILES_CHKSUM = "file://README;md5=92d93d8c5bf22de77578531e283dd219" |
| 7 | |
| 8 | DEPENDS += "perl" |
| 9 | |
| 10 | SRC_URI = "http://search.cpan.org/CPAN/authors/id/N/NL/NLNETLABS/Net-DNS-${PV}.tar.gz" |
| 11 | |
| 12 | SRC_URI[md5sum] = "0da1099c0a3548d36ea9e31d5bb9e122" |
| 13 | SRC_URI[sha256sum] = "83c38a594eeb2c85d66e60047a0f5b403f34bd92a5d13606f02e828d450299fc" |
| 14 | |
| 15 | S = "${WORKDIR}/Net-DNS-${PV}" |
| 16 | |
| 17 | EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}" |
| 18 | |
| 19 | inherit cpan |
| 20 | |
| 21 | RDEPENDS_${PN} = "perl-module-integer" |
| 22 | |
| 23 | do_compile() { |
| 24 | export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" |
| 25 | cpan_do_compile |
| 26 | } |
| 27 | BBCLASSEXTEND = "native" |