From: Bernd Kuhls Date: Sun, 19 Apr 2015 10:16:58 +0000 (+0200) Subject: package/perl-netaddr-ip: New package X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7263ad4b72e503df782781ad77bbf6d77ecff7e3;p=buildroot.git package/perl-netaddr-ip: New package Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- diff --git a/package/Config.in b/package/Config.in index 6f79bb530c..1f9c9085bc 100644 --- a/package/Config.in +++ b/package/Config.in @@ -514,6 +514,7 @@ menu "Perl libraries/modules" source "package/perl-json-tiny/Config.in" source "package/perl-mojolicious/Config.in" source "package/perl-net-ssleay/Config.in" + source "package/perl-netaddr-ip/Config.in" source "package/perl-path-tiny/Config.in" source "package/perl-try-tiny/Config.in" source "package/perl-xml-libxml/Config.in" diff --git a/package/perl-netaddr-ip/Config.in b/package/perl-netaddr-ip/Config.in new file mode 100644 index 0000000000..4f082f1924 --- /dev/null +++ b/package/perl-netaddr-ip/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_PERL_NETADDR_IP + bool "perl-netaddr-ip" + depends on !BR2_STATIC_LIBS + help + NetAddr::IP - Manages IPv4 and IPv6 addresses and subnets + + https://metacpan.org/release/NetAddr-IP + +comment "perl-netaddr-ip needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS diff --git a/package/perl-netaddr-ip/perl-netaddr-ip.hash b/package/perl-netaddr-ip/perl-netaddr-ip.hash new file mode 100644 index 0000000000..37d17faa5e --- /dev/null +++ b/package/perl-netaddr-ip/perl-netaddr-ip.hash @@ -0,0 +1,3 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 b72b91ebd228b096fd3b0acc87df877e NetAddr-IP-4.075.tar.gz +sha256 ab8275bb8f306f780cd029a6dc48764461f4d1ef3a106b99fe5a90cbf2968839 NetAddr-IP-4.075.tar.gz diff --git a/package/perl-netaddr-ip/perl-netaddr-ip.mk b/package/perl-netaddr-ip/perl-netaddr-ip.mk new file mode 100644 index 0000000000..e8ace9d09e --- /dev/null +++ b/package/perl-netaddr-ip/perl-netaddr-ip.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# perl-netaddr-ip +# +################################################################################ + +PERL_NETADDR_IP_VERSION = 4.075 +PERL_NETADDR_IP_SOURCE = NetAddr-IP-$(PERL_NETADDR_IP_VERSION).tar.gz +PERL_NETADDR_IP_SITE = $(BR2_CPAN_MIRROR)/authors/id/M/MI/MIKER +PERL_NETADDR_IP_DEPENDENCIES = perl +PERL_NETADDR_IP_LICENSE = Artistic or GPLv1+ +PERL_NETADDR_IP_LICENSE_FILES = Artistic Copying + +PERL_NETADDR_IP_CONF_OPTS = -noxs + +$(eval $(perl-package))