diff options
Diffstat (limited to 'meta-perl/recipes-perl/libnet/libnet-dns-perl_1.17.bb')
| -rw-r--r-- | meta-perl/recipes-perl/libnet/libnet-dns-perl_1.17.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.17.bb b/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.17.bb new file mode 100644 index 0000000000..79583551f9 --- /dev/null +++ b/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.17.bb | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | DESCRIPTION = "This package contains the DNS.pm module with friends." | ||
| 2 | HOMEPAGE = "http://www.net-dns.org/" | ||
| 3 | SECTION = "libs" | ||
| 4 | LICENSE = "MIT" | ||
| 5 | |||
| 6 | LIC_FILES_CHKSUM = "file://README;beginline=252;endline=269;md5=27db37b42cd1a5173a53922d67072bcb" | ||
| 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] = "28fcbcbf4483a9f23f75be4b9e3e45c8" | ||
| 13 | SRC_URI[sha256sum] = "9a79fd8fea1a708726c18d193ae4437479206ccb20ffa7f0971371e172e2c2e0" | ||
| 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" | ||
