diff options
author | Dave Cobbley <david.j.cobbley@linux.intel.com> | 2018-08-14 20:05:37 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-08-23 04:26:31 +0300 |
commit | eb8dc40360f0cfef56fb6947cc817a547d6d9bc6 (patch) | |
tree | de291a73dc37168da6370e2cf16c347d1eba9df8 /meta-openembedded/meta-perl/recipes-perl/libnet/libnet-libidn-perl_0.12.bb | |
parent | 9c3cf826d853102535ead04cebc2d6023eff3032 (diff) | |
download | openbmc-eb8dc40360f0cfef56fb6947cc817a547d6d9bc6.tar.xz |
[Subtree] Removing import-layers directory
As part of the move to subtrees, need to bring all the import layers
content to the top level.
Change-Id: I4a163d10898cbc6e11c27f776f60e1a470049d8f
Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-openembedded/meta-perl/recipes-perl/libnet/libnet-libidn-perl_0.12.bb')
-rw-r--r-- | meta-openembedded/meta-perl/recipes-perl/libnet/libnet-libidn-perl_0.12.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-openembedded/meta-perl/recipes-perl/libnet/libnet-libidn-perl_0.12.bb b/meta-openembedded/meta-perl/recipes-perl/libnet/libnet-libidn-perl_0.12.bb new file mode 100644 index 000000000..1ef9f0bc3 --- /dev/null +++ b/meta-openembedded/meta-perl/recipes-perl/libnet/libnet-libidn-perl_0.12.bb @@ -0,0 +1,34 @@ +SUMMARY = "Net::LibIDN - Perl bindings for GNU Libidn" +DESCRIPTION = "\ +Provides bindings for GNU Libidn, a C library for handling Internationalized \ +Domain Names according to IDNA (RFC 3490), in a way very much inspired by \ +Turbo Fredriksson's PHP-IDN. \ +" +SECTION = "libs" +LICENSE = "Artistic-1.0 | GPLv1+" +HOMEPAGE = "http://search.cpan.org/dist/Net-LibIDN/" +DEPENDS += "libidn" +# We must need glibc-gconvs to enable charset related functions, +# such as Net::LibIDN::idn_to_ascii(). +RDEPENDS_${PN}_append_libc-glibc = " glibc-gconvs" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TH/THOR/Net-LibIDN-${PV}.tar.gz" +SRC_URI[md5sum] = "c3e4de2065009d67bcb1df0afb473e12" +SRC_URI[sha256sum] = "2f8acc9442b3866ec7dc63cd449fc693ae3e930d5d3e5e9430fbb6f393bdbb17" + +SRC_URI += "file://libidn-wr-cross-compile.patch" + +LIC_FILES_CHKSUM = "file://README;beginline=42;endline=92;md5=3374ea0369ca3ead6047520477a43147" + +S = "${WORKDIR}/Net-LibIDN-${PV}" + +EXTRA_CPANFLAGS = "--with-libidn=${STAGING_LIBDIR} --with-libidn-inc=${STAGING_INCDIR} --compiler='${CC}'" +EXTRA_CPANFLAGS += "--disable-tld" + +inherit cpan + +FILES_${PN}-dbg += "${libdir}/perl/vendor_perl/*/auto/Net/LibIDN/.debug/" + +do_configure_prepend() { + rm -rf ${S}/.pc/ +} |