diff options
-rw-r--r-- | meta-perl/recipes-perl/libnet/libnet-dns-perl_0.81.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-perl/recipes-perl/libnet/libnet-dns-perl_0.81.bb b/meta-perl/recipes-perl/libnet/libnet-dns-perl_0.81.bb new file mode 100644 index 0000000000..9dc426860e --- /dev/null +++ b/meta-perl/recipes-perl/libnet/libnet-dns-perl_0.81.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | DESCRIPTION = "This package contains the DNS.pm module with friends." | ||
2 | |||
3 | SECTION = "libs" | ||
4 | LICENSE = "Artistic-1.0 | GPL-1.0+" | ||
5 | |||
6 | LIC_FILES_CHKSUM = "file://README;md5=524da96a3365f2caff73fea0ae67c3a0" | ||
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] = "26375d4310beb108b0e2b3bf30403ee5" | ||
13 | SRC_URI[sha256sum] = "b36c8ead6edf68da5d9de2b0a22a47d7216e2d7eb52c8cde96724988f68a6d46" | ||
14 | |||
15 | S = "${WORKDIR}/Net-DNS-${PV}" | ||
16 | |||
17 | EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}" | ||
18 | |||
19 | inherit cpan | ||
20 | |||
21 | do_compile() { | ||
22 | export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" | ||
23 | cpan_do_compile | ||
24 | } | ||
25 | BBCLASSEXTEND = "native" | ||